Client Script Type — onSubmit()

  • Script runs when a form is saved, updated, or submitted
  • Typically used for field validation

Users do not have the ability to modify form fields while an onSubmit() Client Script executes.

TIP FROM THE FIELD

Typically, onSubmit() Client Scripts validate data on the form and ensure the submission makes sense. If the inputs the user submits do not make sense, an onSubmit() Client Script can cancel form submission by returning a value of false.

results matching ""

    No results matching ""