Changes

Custom Save and Save Draft Buttons

16 bytes added, 18:24, 12 June 2014
no edit summary
* '''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''' perform the tasks listed aboveensure 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.
8,849
edits