template::data::validate::url (public)
template::data::validate::url value_ref message_ref
Defined in packages/acs-templating/tcl/data-procs.tcl
Validate that a submitted url is correct. Accepts an optional http:// or https:// prefix, path, and query string.
- Parameters:
- value_ref (required)
- Reference variable to the submitted value
- message_ref (required)
- Reference variable for returning an error message
- Returns:
- True (1) if valid, false (0) if not
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- validate_url