template::form::is_request (public)

 template::form::is_request id

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

Return true if preparing a form for an initial request (as opposed to repreparing a form that is returned to the user due to validation problems). This command is used to conditionally set default values for form elements.

Parameters:
id (required)
The form identifier
Returns:
1 if preparing a form for an initial request; or 0 if repreparing a form that is returned to the user due to validation problems

Testcases:
No testcase defined.
[ show source ]
Show another procedure: