Skip to main content
Our form and your own form fire events on the element with data-frictionless-booking. They bubble, so you can listen on the document:
On your own form, call e.preventDefault() in either listener to show the thank-you or the error yourself. Booking from the chat’s Book tab? Use Frictionless.on("booking", fn) instead: see Control the chat.