Although validate() function is designed for "Web Application Input Validations",
it is also designed as general purpose validation function. It can be used for
"Form/Logic and Output" validations and works perfectly well with them.
This is an form validation example, but it also validates any other inputs for
apps. i.e. HTTP headers, GET parameters. Try adding "?debug=1" to query(URL/GET) parameter
and more than 3 parameters.