Called when server replies to save record request.
onSave = function(event)
This event is triggered after save request comes back from the server. If you want to add an event before data is submitted, see
event. These two events are called when user clicks the save button.
You can add event listener during the object creation:
or after the object has been created:
The event handler is called before the default action of the event is triggered. You can cancel the default action by calling
. To perform an action
after the event is fully processed, define event.onComplete
page in utilities for more details.