Changes

Sbfunc

5 bytes added, 14:15, 19 November 2013
no edit summary
* Include a function in the [[Browser Script]] called '''sbfunc''' that includes the [[JavaScript]] you wish to execute when the record is either saved or submitted.
* The function must return either a value of '''true''' if the record should be saved/submitted; or '''false''' if the record should not be saved/submitted.
* Standard and Custom Field validations are performed '''before''' the sbfunc script is run, so if the function returns '''true''' the record will immediately be saved/submitted. If the function returns '''false''' no further validation is performed and the record is <u>not</u> saved/submitted.
8,849
edits