validate_integer (public, deprecated)

 validate_integer field_name string

Defined in packages/acs-tcl/tcl/deprecated-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Throws an error if the string isn't a decimal integer; otherwise strips any leading zeros (so this won't work for octals) and returns the result.

validate via ad_page_contract

Parameters:
field_name (required)
string (required)
See Also:

Testcases:
No testcase defined.
[ show source ]
Show another procedure: