Views:

Description

Display a Confirmation Dialog to the end user. 

 

Note that since version v1.0.0.651 we added a new parameter called onsave-only which if set to true can block the onsave event of the form if the users clicks cancel. You must be on this version or higher for this feature to work. 

Signature

ConfirmDialog(
  'message-to-user',
  'title', 
  'subtitle', 
  'confirm-button-label', 
  'cancel-button-label',
  'height',
  'width',
  '[onsave-only]',
)

Example

ConfirmDialog('Do you really want to save', 'YourTitle', 'YourSubtitle', 'Ok', 'Cancel', '300', '50', 'true')