Changes

Jump to: navigation, search

Submit & Save Buttons

179 bytes added, 18:26, 12 June 2014
Creating a Submit Button
* '''Description''' - descriptive text.
* '''Script''' - call to any scripts that should be run in conjunction with this button. The system will check if the script is present before trying to run it. Submit button script must be formatted as ''functionName(this.form)''. Spaces are not permitted. Script should return either '''true''' or '''false'''.
:'''Important:''' If a '''''Submit Button Script''''' has been defined the Submit button will run that function, and will '''NOT''' ensure that [[mandatory]] fields are completed.
* '''URL''' - specify the URL the user should be redirected to following successful submission. '''NOTE:''' Redirects must be relative path (e.g. /wiki/index.php) rather than an absolute path (e.g. http://www.smartsimple.org/wiki/index.php).
* '''Visibility Condition''' - any [[Visibility Condition|conditions]] used to control when the button is exposed.
[[Image:SubmitButton4.png|link=]]
7) You can now add [[Submit Logic]] against the individual buttons, tying specific submission rules to individual buttons and status changes.
==See Also==
8,849
edits

Navigation menu