You have the possibility of check the validity of the input value of a form element of type Textbox.
The following properties are available for validation:
Properties |
Description |
|---|---|
None |
No validation |
Alphanumeric |
Only alphanumeric characters |
Numeric |
Only numeric characters |
Decimal |
Here you can determine the precision (decimal places) in an additional field. |
Date |
You can specify the format of the date. |
Regular Expression |
You can enter a regular expression and a matching error message. |
Regular expressions
With a regular expression, an input value can be checked more precisely for its validity.
Example 1: A part of the input must consist of two consecutive letters and six consecutive digits (e.g. InNo012345).
[a-zA-Z]{4}[0-9]{6}
Example 2: The input must be a valid e-mail address (e.g. info@jobrouter.de).
[a-zA-Z0-9-.]{1,}[@]{1}[a-zA-Z0-9-.]{2,}\w{1,}\.{1}[a-zA-Z]{2,6}
In order to create regular expressions in advance and to check them with a test string, we recommend the site https://regex101.com/.
Please note: The modifiers/flags Global: g, Multiline: m, Case insensitive: i, Ignore whitespaces: x, Single line: s, Unicode: u, eXtended: X, Case Ungreedy: U, Anchor: A and Duplicate group names: J are not permitted in the regular expression and do not lead to the expected result when the input value is checked.