0
edits
Changes
Status
,no edit summary
===Submit Button Script (Level 1 Only)===
In order to use the Submit Button Script you <u>must</u> select a '''Submit Button Status''' so that the '''Submit''' button will appear.<br>
You must also create a [[Browser Script]] containing a [[:Category:JavaScript Examples|JavaScript]] function that is called within the '''Submit Button Script''' setting.
* This feature can be used to perform tasks such as confirmation or custom validation of the data on the page, prior to submission.
* The function must return either a value of '''true''' if the record should be submitted; or '''false''' if the record should not be submitted.
:[[Image:Bsf.png]]
The following sample [[:Category:JavaScript Examples|JavaScript]] function will prompt the user to confirm if they want to submit the record.
<pre>
function customsubmit()