Save event arguments (Client API reference)
When the form OnSave event occurs, you can use the getEventArgs method of the execution context object to retrieve an object that contains methods you can use to manage the save event.
| Method | Description |
|---|---|
| getSaveMode | Returns a value indicating how the save event was initiated by the user. |
| isDefaultPrevented | Returns a value indicating whether the save event has been canceled because the preventDefault method was used in this event hander or a previous event handler. |
| preventDefault | Cancels the save operation, but all remaining handlers for the event will still be executed. |