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

Event

Description

knack-record-update.any

Triggered by all forms

knack-record-update.view_1

Triggered by form specified by key

Parameters

Parameter

Description

view

The view (JSON object)

record

The updated record (JSON object)