MobileCRM.UI.IFrameForm - Resconet/JSBridge GitHub Wiki
MobileCRM.UI.IFrameForm Object
[v9.0] Represents the iFrame form object.
Properties
Property
Type
Description
form
MobileCRM.UI.Form
Gets the form hosting the iFrame.
isDirty
Boolean
[v10.0] Controls whether the form is dirty and requires save, or whether it can be closed.
options
Object
Carries the custom parameters that can be specified when opening the form using MobileCRM.UI.IFrameForm.show function.
preventCloseMessage
String
[v9.3] Prevents closing the form if non-empty string is set. No other home-item can be opened and synchronization is not allowed to be started. Provided message is shown when user tries to perform those actions.
saveBehavior
Number
[v10.0] Controls the behavior of the Save command on this form (0=Default, 1=SaveOnly, 2=SaveAndClose).
[v10.0] Sets the dirty flag which prevents the form being closed. App asks to save the form before saving and if user chooses to save it, it calls the save routine defined in IFrameForm.saveCommand.