Interface | Description |
---|---|
RequiredIfFunction |
Class | Description |
---|---|
ContainsValidator |
Determine whether a string value contains some substring specified via
substring . |
CustomValidator | |
DateRangeValidator |
Tests whether the value for a date field is within the range specified by validator.min
and validator.max, which should be dates.
|
DoesntContainValidator |
Determine whether a string value does not contain some substring specified via validator.substring.
|
FloatPrecisionValidator |
Tests whether the value for this field is a floating point number with the appropriate number of decimal places -
specified in validator.precision If the value is of higher precision, if validator.roundToPrecision is specified,
the value will be rounded to the specified number of decimal places and validation will pass, otherwise validation
will fail.
|
FloatRangeValidator |
Tests whether the value for this field is a floating point number within the range specified
by validator.min and validator.max.
|
IntegerRangeValidator |
Tests whether the value for this field is a whole number within the range specified by
validator.min and validator.max.
|
IsBooleanValidator |
Validation will fail if this field is non-empty and has a non-boolean value.
|
IsFloatValidator |
Tests whether the value for this field is a valid floating point number.
|
IsIntegerValidator |
Tests whether the value for this field is a whole number.
|
IsOneOfValidator |
Tests whether the value for this field matches any value from an arbitrary list of acceptable values.
|
IsStringValidator |
Validation will fail if the value is not a string value.
|
LengthRangeValidator |
This validator type applies to string values only.
|
MaskValidator |
Validate against a regular expression mask, specified as validator.mask.
|
MatchesFieldValidator |
Tests whether the value for this field matches the value of some other field.
|
RegExpValidator |
Regexp type validators will determine whether the value specified matches a given regular expression.
|
RequiredIfValidator |
RequiredIf type validators should be specified with a ,
which has to be passed to
,
and takes two parameters:
item - the DynamicForm item on which the error occurred (may be null)
value - the value of the field in question
When validation is perfomed, the expression will be evaluated - if it returns true , the field will be
treated as a required field, so validation will fail if the field has no value. |
StringCountValidator |
Determine whether a string value contains some substring multiple times.
|
Validator |
A validator describes a check that should be performed on a value the user is trying to save.
|