|
|
To ask a user for confirmation before saving a record use the
following code in Javascript OnLoad
event for Edit or Add page.
Note: Change
the values listed in red to
match your specific needs.
|
this.on('beforeSave', function(formObj, fieldControlsArr, pageObj){
if (confirm('Save record?'))
return true;
else
return false;
});
|
See also
|