submitSuccess

Since: Editor 1.0

Form submitted to the server, and data processed event (success only). 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

Submission complete and successful event, fired when data has been successfully submitted to the server and all actions required by the returned data (inserting or updating a row) have been completed.

    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:

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

Event naming / backwards compatibility note

Prior to Editor 1.3, events were prefixed with the string on and this event was called onSubmitSuccess. That event name can still be used, and will function exactly the same way as the event documented here. The new name is used for simplicity and coherence with the event naming conventions in DataTables.