template::form::is_valid (public)

 template::form::is_valid id

Defined in packages/acs-templating/tcl/form-procs.tcl

Return true if submission in progress and submission was valid. Typically used to conditionally execute DML and redirect to the next page, as opposed to returning the form back to the user to report validation errors.

Parameters:
id (required)
The form identifier
Returns:
1 if id is the form identifier of a valid submission or 0 otherwise

Testcases:
template_widget_file
[ show source ]
Show another procedure: