A validation rule with custom validation logic.
Specifies the message that is shown for end-users if the current rule is broken.
You do not have to specify this field. In this instance, a default message will be shown. To include the name of the validated editor into the default validation message as a subject, set the name field of the dxValidator object.
If you assign an empty string to the message field, the message will not be shown.
Indicates whether the rule should be always checked for the target value or only when the target value changes.
Specifies the type of the current rule.
Set this field to 'custom' to define a rule that will be broken as a result of custom validation performed by the validationCallback function.
A function that validates the target value.
An object defining validation parameters.
A Boolean value that indicates whether the validated value is valid against the checked rule.