Changes

Jump to: navigation, search

Savefunc

410 bytes added, 15:35, 31 July 2009
no edit summary
* Create a [[Custom Field]] on the page of type: [[Custom Field Type: Special – Browser Script]]
* Include a function in the [[Browser Script]] called '''savefunc''' 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 validation is performed '''after''' this script is run, provided that the function has returned '''true'''. If the function returns '''false''' no further validation is performed and the record is <u>not</u> saved/submitted.
0
edits

Navigation menu