Record Update (Form)

  • Triggered when a specific form has been submitted to update an existing record
  • Often used for making further updates to the record or submitting it to other API calls
    • Example: Update a child record following the the form’s updating the parent record
// Change view_1 to the form view you want to listen to
$(document).on('knack-record-update.view_1', function(event, view, record) {
  alert('Form submitted!');
});

Events

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

Parameters

ParameterDescription
viewThe view (JSON object)
recordThe updated record (JSON object)