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

EventDescription
knack-form-submit.anyTriggered by all forms
knack-form-submit.view_1Triggered by form specified by key

Parameters

ParameterDescription
viewThe form (JSON object)
recordThe created record, including its ID (JSON object)

What’s Next