Validation Type defines the expected input for the form field it is applied to for it to be considered valid. Where the input of a form field does not pass the criteria an error value is set, this is available using _field.errors.
Property Pane Toolbar
For information about the toolbar options, see the Common Properties page, Toolbars and Controls section.
Basic Settings
Field
Description
Name
Name of the Validation Type.
Base Type
Defines the data type the validation applies to, see Understanding Data Types. The value is selected from a drop-down list which contains the following options:
String
Integer
Number
Any
Validation
Validation options define the validation applied by the Validation Type. The validation options are determined by the Base Type selected in the basic settings:
Base Type Selected
Validation Options
String
Minimum Length, of the string for it to be valid.
Maximum Length, of the string for it to be valid.
Pattern, the pattern a string must satisfy for it to be considered valid. The pattern is entered as a regular expression, see Regular Expressions.
Integer
Minimum, number permitted for an integer to be valid.
Exclusive of Minimum, if disabled the number must be greater than the minimum set. If enabled the number must be greater than or equal to the minimum set.
Maximum, number permitted for an integer to be valid.
Exclusive of Maximum, if disabled the number must be less than the minimum set. If enabled the number must be less than or equal to the minimum set.
Multiple Of, checks if the integer is a multiple of the given number, if it is then the integer is considered valid.
Number
Minimum, number permitted for an integer to be valid.
Exclusive of Minimum, if disabled the number must be greater than the minimum set. If enabled the number must be greater than or equal to the minimum set.
Maximum, number permitted for an integer to be valid.
Exclusive of Maximum, if disabled the number must be less than the minimum set. If enabled the number must be less than or equal to the minimum set.
Multiple Of, checks if the integer is a multiple of the given number, if it is then the integer is considered valid.
Any
N/A
Description
Field
Description
Description
We recommend you always add a description of this palette.
Audit Tab
Audit Summary
See the Common Properties page, Audit Summary section.