template::form::get_elements (public)
template::form::get_elements [ -no_api ] id
Defined in packages/acs-templating/tcl/form-procs.tcl
Return a list of element names for the form with given id.
- Switches:
- -no_api (optional, boolean)
- If provided, filter out form builder and ad_form API element names that start with the double underscore
- Parameters:
- id (required)
- Author:
- Peter Marklund
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: upvar #[template::adp_level] $id:properties properties set elements $properties(element_names) if { $no_api_p } { set elements_no_api [list] foreach element $elements { if { ![regexp {^__} $element] } { lappend elements_no_api $element } } return $elements_no_api } else { return $elements }XQL Not present: Generic, PostgreSQL, Oracle