{hero}

submitUnsuccessful

Since: Editor 1.6.5

Form submitted to the server, but failed server-side validation.
Please note - this property requires the Editor extension for DataTables.

The full Editor reference documentation is available to registered users of Editor - the information shown below is a summary only. If you already have an Editor license please , alternatively an Editor license can be purchased on this site, or sign up for the free trial.

Description

This event is the counter part to submitSuccess. While that event will trigger if the request is successfully fulfilled, this event will trigger if the request was correctly processed, but it contained validation errors.

Please note the difference between the following three events that can happen at the end of a submit - only one of them will trigger for each submit action:

  • submitSuccess - Processed correctly and no errors detected.
  • submitUnsuccessful - Processed correctly, but validation errors found.
  • submitError - An uncontrolled error occurred at the server-side (typically a JSON formatting error).