Validation rules for STRING datatypes.
You can add multiple "contains" rules to the STRING datatype input on an Edit Box, but the rest of the validation rules can be assigned only once.
Rule | Description |
---|---|
contains | Validates that the input contains the given string. |
starts with | Validates that the input starts with the given string. |
ends with | Validates that the input ends with the given string. |
length is equal to | Validates that the length of the input string is equal to the given length. |
length is greater than | Validates that the length of the input string is greater than the given length. |
length is greater than or equal to | Validates that the length of the input string is greater than or equal to the given length. |
length is less than | Validates that the length of the input string is less than the given length. |
length is less than or equal to | Validates that the length of the input string is less than or equal to the given length. |
matches regular expression | This rule supersedes other rules. Do not assign any other rules to the control. Validates that the input conforms to the given regular expression. |