-
Notifications
You must be signed in to change notification settings - Fork 1
Validators
Andreas Hilken edited this page Mar 14, 2018
·
2 revisions
Not all validators can be used for all controls. See Validation.
Validator Type | Description | Meaning Value |
---|---|---|
Required | Check if an control is not null, undefined or ''
|
n/a |
Integer | Check if an value is a valid integer (no decimals) | n/a |
Number | Check if an value is a valid number (also decimals) | n/a |
MaxLength | Check if value is not longer as expected. E.g. string count of chars, or Array count of entries | Maximal length |
MinLength | Check if value is not shorter as expected. E.g. string count of chars, or Array count of entries | Minimal length |
MinValue | Check if a numberic value has the define minimal value | Minimal value |
MaxValue | Check if a numberic value not exeed the defined maximal value | Maximal value |
Length | Check if value is exact long as expected. E.g. string count of chars, or Array count of entries | Length |
Regex | Check if the value match the Regex Expression | Regex Attriubte is used |
To define a custom validator see Validation.
Do It Digital Consulting LLC
[email protected]