Form Webhook Handler JS API Events
SA5 Forms supports two events.
Event
Fires
formSubmitSuccess
When a form is submitted and the called webhook responds successfully ( HTTP response 200 - 299 ).
formSubmitFail
When a form is submitted and the called webhook responds successfully ( HTTP response 400 - 599 ).
Form Submit Success Event
When a form is submitted and the called webhook responds successfully ( HTTP response 200 - 299 ).
form
- is the SA5 Form objectdata
- is any JSON data returned by the webhook
Form Submit Fail Event
When a form is submitted and the called webhook responds successfully ( HTTP response 400 - 599 ).
form
- is the SA5 Form objectdata
- is any JSON data returned by the webhook
Last updated
Was this helpful?