The conventional way for a user to submit a form is for the user to press a submit button. However, some modern interfaces auto save form data automatically which minimizes the chance a user forgets to press submit and loses their data.

The example below identifies the form by its name. Once it finds the form it then submits it to the data source it was connected with.

// Get the form first
  .then(function (form) {
    // Submit the form
Was this article helpful?