A form-submit interaction runs when a form is submitted: validate fields, then send an email, hit a webhook, or run a custom script, with success/failure outcomes.
Where: Right sidebar → Interact → Interactions → “+” → Form — Add a form-submit interaction
Key ideas
- Validation: basicValidation checks required fields before submitting.
- Submit action: none / sendEmail / webhook / customScript — choose what happens on submit.
- Outcomes: Define success and failure outcomes (e.g. show a message, animate, redirect).
Steps
- Select the form element.
- Add a form-submit interaction.
- Pick the submit action (email/webhook/script).
- Set success and failure outcomes.