template::form::get_values (public)
template::form::get_values id [ args... ]
Defined in packages/acs-templating/tcl/form-procs.tcl
Set local variables for form variables (assume they are all single values). Typically used when processing the form submission to prepare for DML or other type of transaction. NB! This proc must always be called through "form get_values" or "template::form get_values", or it won't be able to find the variable.
- Parameters:
- id (required)
- The form identifier
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: if { [llength $args] > 0 } { set elements $args } else { # Get all the form elements set elements [get_elements $id] } foreach element_id $elements { upvar 2 $element_id value set value [template::element get_value $id $element_id] }XQL Not present: Generic, PostgreSQL, Oracle