Changes

Jump to: navigation, search

Status

18 bytes added, 14:10, 28 July 2016
m
Text changes example "Submit Button Label" was renamed "Caption"
* The Submit button validates all fields in the record, ensuring that mandatory fields and formatting requirements are satisfied.
* It saves the record and changes the status to the status defined in the '''Submit Button Status''' section of the original status.
* ''Note that the label on the Submit button can be defined in the '''Submit Button LabelCaption''' section of the status page, so may appear with another name.''
'''Important:''' If a '''''Submit Button Script''''' has been defined the Submit button will run that function, and will '''NOT''' perform the tasks listed above.
|}
* The function must return either a value of '''true''' if the record should be submitted; or '''false''' if the record should not be 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.
* You can optionally re-label the Submit button using the '''Submit Button LabelCaption''' settingand you can select an icon for the button.
For example, if your Browser Script contains a function called ''customsubmit'' you would put the following into the '''Submit Button Script''' section:
Smartstaff, administrator
3,320
edits

Navigation menu