Form Field Validation Functions; Table 42 Picture String Example Passwords - Aruba Networks PowerConnect W Clearpass 100 Software Deployment Manual

3.7 deployment guide
Hide thumbs Also See for PowerConnect W Clearpass 100 Software:
Table of Contents

Advertisement

Any other alphanumeric characters in the picture string will be used in the resulting username or password.
Some examples of the picture string are shown below:

Table 42 Picture String Example Passwords

Picture String
####
user####
v^^#__
@@@@@

Form Field Validation Functions

See
"Form Validation Properties"
Guest Management chapter for details about using validation functions for form fields.
The built-in validator functions are:
IsArrayKey – Checks that the value is one of the keys in the array supplied as the argument to the
validator.
IsArrayValue – Checks that the value is one of the values in the array supplied as the argument to the
validator.
IsEqual – Checks that the value is equal to the value supplied as the argument to the validator, allowing
for standard type conversion rules.
IsGreaterThan – Checks that the value is strictly greater than a specified minimum value supplied as
the argument to the validator.
IsIdentical – Checks that the value is equal to the value supplied as the argument to the validator, and
has the same type.
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.
IsInOptionsList—Checks against a list of options in the policy definition.
IsNonEmpty – Checks that the value is a non-empty string (length non-zero and not all whitespace), or
a non-empty array.
IsNonNegative – Checks that the value is numeric and non-negative.
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.
See
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.
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.
IsValidEmail – Checks that the value appears to be a valid
using the IsValidEmail validator, the validator argument may be specified wieth a whitelist/blacklist of
domain names. Use the syntax:
array(
'allow' => array(
Amigopod 3.7 | Deployment Guide
Sample Password
3728
user3728
vQU3nj
Bh7Pm
"Regular Expressions"
in this chapter and
in this chapter for more information about regular expression syntax.
"Examples of Form field Validation"
RFC
822-compliant email address. When
in the
Reference |
395

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PowerConnect W Clearpass 100 Software and is the answer not in the manual?

This manual is also suitable for:

Amigopod 3.7

Table of Contents