Form Submit
- Triggered when specific form has been successfully submitted
// Change view_1 to the form view you want to listen to
$(document).on('knack-form-submit.view_1', function(event, view, record) {
alert('Form submitted!');
});
Events
Event | Description |
---|---|
knack-form-submit.any | Triggered by all forms |
knack-form-submit.view_1 | Triggered by form specified by key |
Parameters
Parameter | Description |
---|---|
view | The form (JSON object) |
record | The created record, including its ID (JSON object) |
Updated about 4 years ago
What’s Next