Validators

Validators

Paragraph Text → Settings → Advanced

Validators prevent the form being submitted if the submitted data does not match the validator rules. See below for an explanation of what each validator does and its options.

Adding a validator

To add a validator, click the button of the validator you want to add, for example, to add the Digits validator, click the Digits button.

Removing a validator

To remove a validator, click the remove icon on the validator.

Validators

Alpha Numeric

The alpha numeric validator checks that the value contains only alphabet or digit characters.

Options
Option Default Description
Allow whitespace unchecked Whether to allow whitespace such as spaces and tabs

Alpha

The alpha validator checks that the value contains only alphabet characters.

Options
Option Default Description
Allow whitespace unchecked Whether to allow whitespace such as spaces and tabs

Digits

The digits validator checks that the value contains only digits.

Options
Option Default Description
Allow whitespace unchecked Whether to allow whitespace such as spaces and tabs

Email

The email validator checks that the value is a valid email address.

Greater Than

The greater than validator checks that the value is numerically greater than the given minimum.

Options
Option Default Description
Minimum 0 Minimum allowed value

Identical

The identical validator checks that the value is identical to the given token.

Options
Option Default Description
Token   Token to match against the value

Less Than

The less than validator checks that the value is numerically less than the given maximum.

Options
Option Default Description
Maximum 10 Maximum allowed value

Length

The length validator checks that the length of the value is between the given maximum and minimum.

Options
Option Default Description
Minimum length 0 Minimum allowed length
Maximum length   Maximum allowed length

Regex

The regex validator checks that the value matches the given regular expression.

Options
Option Default Description
Pattern   The regular expression pattern to match

Still having trouble? Head over to the forums.

Forums