template::form::get_errors (public)

 template::form::get_errors id

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

Parameters:
id (required)
The form identifier
Returns:
the list of form errors

Partial Call Graph (max 5 caller/called nodes):
%3 test_template_widget_file template_widget_file (test acs-templating) template::form::get_errors template::form::get_errors test_template_widget_file->template::form::get_errors template::adp_level template::adp_level (public) template::form::get_errors->template::adp_level

Testcases:
template_widget_file
Source code:
    upvar #[template::adp_level$id:error formerror

    if { [info exists formerror] } {
        # errors exist in the form, return them
        return [array get formerror]
    } else {
        # no errors exist in the form, return the empty list
        return [list]
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: