Skip to content

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.

Arguments

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.
Clone this wiki locally