validate
Runs the page validation routine.
Key
Type
Description
action
'validate'
Action name
action.options
object
No supported options at this time
onFailed
function
add _actions
to run actions when the validation fails
Example
Running action Scripts when validation fails
Often you want to run actions when a validation fails. The onFailed
key is perfect for this. Action sin the original script will stop and the onFailed_actions
script will run. You can use this to do things like pre-save forms, show modals and more.
See Also
Learn more about how to validate fields at this page:
ValidationLast updated