template::element::error_p (public)

 template::element::error_p form_id element_id

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

Return true if the named element has an error set. Helpful for client code that wants to avoid overwriting an initial error message.

Parameters:
form_id - The identifier of the form containing the element.
element_id - The unique identifier of the element with which the error message should be associated in the form template.

Partial Call Graph (max 5 caller/called nodes):
%3 template::adp_level template::adp_level (public) template::element::error_p template::element::error_p template::element::error_p->template::adp_level

Testcases:
No testcase defined.
Source code:
    set level [template::adp_level]

    upvar #$level $form_id:error formerror

    # set the message
    return [info exists formerror($element_id)]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: