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

Partial Call Graph (max 5 caller/called nodes):
%3 template::form::is_submission template::form::is_submission (public) template::form::is_request template::form::is_request template::form::is_request->template::form::is_submission

Testcases:
No testcase defined.
Source code:
    return [expr {! [is_submission $id]}]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: