This is a JavaScript hook called when the form is successfully submitted.
1 2 3 4 5 | jQuery(function ($) { $('.quform-form-1').on('quform:successStart', function (e, form, confirmation) { // Custom code }); }); |
jQuery(function ($) { $('.quform-form-1').on('quform:successStart', function (e, form, confirmation) { // Custom code }); });
- On line 2, replace the number
1
with the form ID
Arguments
Argument | Description |
---|---|
e | The event data |
form | The Quform instance |
confirmation | The confirmation data |