template::data::validate::filename (public)

 template::data::validate::filename value_ref message_ref

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

Validate that a submitted filename consists of alphanumeric, "_", or "-" characters.

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

Testcases:
validate_filename
[ show source ]
Show another procedure: