template::data::validate::currency (public)

 template::data::validate::currency value_ref message_ref

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

form validation for currency type. Should validate according to locale for example, the following forms: "$2.03" "Rs 50.42" "12.52L" "Y5,13c"

Parameters:
value_ref - Reference variable to the submitted value
message_ref - Reference variable for returning error messages
Returns:
true (1) if valid, false (0) if not

Partial Call Graph (max 5 caller/called nodes):
%3 test_validate_currency validate_currency (test acs-templating) template::data::validate::currency template::data::validate::currency test_validate_currency->template::data::validate::currency _ _ (public) template::data::validate::currency->_ template::data::validate template::data::validate (public) template::data::validate::currency->template::data::validate

Testcases:
validate_currency
[ show source ]
Show another procedure: