template::element::set_error (public)

 template::element::set_error form_id element_id message

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

Manually set an error message for an element. This may be used to implement validation filters that involve more than one form element ("Sorry, blue is not available for the model you selected, please choose another color.")

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

Partial Call Graph (max 5 caller/called nodes):
%3 test_template_widget_file template_widget_file (test acs-templating) template::element::set_error template::element::set_error test_template_widget_file->template::element::set_error template::adp_level template::adp_level (public) template::element::set_error->template::adp_level template::data::transform::category template::data::transform::category (public) template::data::transform::category->template::element::set_error template::data::transform::party_search template::data::transform::party_search (private) template::data::transform::party_search->template::element::set_error template::data::transform::search template::data::transform::search (public) template::data::transform::search->template::element::set_error template::data::transform::spellcheck template::data::transform::spellcheck (public) template::data::transform::spellcheck->template::element::set_error

Testcases:
template_widget_file
[ show source ]
Show another procedure: