template::element::exists (public)

 template::element::exists form_id element_id

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

Determine if an element exists in a specified form

Parameters:
form_id (required)
The identifier of the form containing the element.
element_id (required)
The unique identifier of the element within the form.
Returns:
1 if the element exists in the form, or 0 otherwise

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

    upvar #$level $form_id:$element_id element_properties

    return [info exists element_properties]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: