Delete a booking on submission
In order to use the Delete Booking action, you'll need to create a template, which tells XFP how to convert information from the form into a CSV file.
To do this:
Navigate to Templates in the top navigation bar (under the form title).
Click Create Template.
A popover will open, asking which type of action we want to create a template for. Choose Delete Booking under the Event Booking section, and click Next.
We'll then be taken to the template builder for this action.
It is also possible to access the template builder from within a rule, by choosing Create new... when selecting a template in a Then block.
Set the title of your template.
Choose the Existing Event Booking question, which will contain the booking to delete when this action is run.
Click Save to create the template.
To make this action fire when your form is filled in, you will need to add it to a rule - see Building a Rule.