-
Notifications
You must be signed in to change notification settings - Fork 26
MobileCRM.UI.IFrameForm.onSave
rescocrm edited this page May 15, 2023
·
3 revisions
[v10.0] Binds or unbinds the handler for saving content of this iFrame.
Bound handler is called with the IFrameForm object as an argument.
The IFrameForm context object contains property "errorMessage" that can be used to cancel save with an error.
Use suspendSave method to suspend the save process if an asynchronous operation is required.
Argument | Type | Description |
---|---|---|
handler | function(IFrameForm) | The handler function that has to be bound or unbound. |
bind | Boolean | Determines whether to bind or unbind the handler. |
scope | Object | The scope for handler calls. |