Deployment Guide

374 | Reference DellNetworking W- ClearPassGuest 6.1 | Deployment Guide
Picture String Sample Password
#### 3728
user#### user3728
v^^#__ vQU3nj
@@@@@ Bh7Pm
Table 44:
Picture String Example Passwords
Form Field Validation Functions
See "Form Validation Properties" on page 176, and "Examples of Form field Validation" on page 177 for details
about using validation functions for form fields.
The built-in validator functions are:
l IsArrayKey Checks that the value is one of the keys in the array supplied as the argument to the validator.
l IsArrayValue Checks that the value is one of the values in the array supplied as the argument to the validator.
l IsEqual Checks that the value is equal to the value supplied as the argument to the validator, allowing for
standard type conversion rules.
l IsGreaterThan Checks that the value is strictly greater than a specified minimum value supplied as the
argument to the validator.
l IsIdentical Checks that the value is equal to the value supplied as the argument to the validator, and has the
same type.
l IsInRange Checks that the value is in a specified range between a minimum and maximum value. The
minimum and maximum values are specified as a 2-element array as the argument to the validator.
l IsInOptionsList—Checks against a list of options in the policy definition.
l IsNonEmpty Checks that the value is a non-empty string (length non-zero and not all whitespace), or a non-
empty array.
l IsNonNegative Checks that the value is numeric and non-negative.
l IsRegexMatch Checks that the value matches a regular expression supplied as the argument the validator. The
regular expression should be a Perl-compatible regular expression with delimiters. For example, the validator
argument /^a/i will match any value that starts with an “a”, case-insensitively. "Regular Expressions" on page 381
for more information about regular expression syntax.
l IsValidBool Checks that the value is a standard Boolean truth value. Valid Boolean values are the integers 0
and 1 and the PHP values false and true.
l IsValidDateTime Checks that the value appears to be a valid time specification string according to the rules of
the PHP function strtotime(). Valid date/time syntax includes ISO 8601 standard times (YYYY-MM-DD
hh:mm:ss) with and without time zone specifications, as well as many other formats. The $value is expected to
be an integer specifying a UNIX time value (seconds since 1970-01-01 00:00:00 UTC).
$arg may be:
n null, to not perform any min/max check
n a scalar value, to use as the maximum allowable value
n an array containing "min" or "max" entries
Use the syntax: