All docs
V19.2
24.1
The page you are viewing does not exist in version 24.1.
23.2
The page you are viewing does not exist in version 23.2.
23.1
The page you are viewing does not exist in version 23.1.
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
19.1
18.2
18.1
17.2
A newer version of this page is available. Switch to the current version.

jQuery Validator - adapter

An object that specifies what and when to validate, and how to apply the validation result.

Type:

Object

This option should be specified when you cannot associate the Validator widget with an editor, for instance, when you use custom editors or a validated value is a sequence of several DevExtreme editor values. Refer to the Validate a Custom Value topic for more details.

See Also

applyValidationResults

A function that the Validator widget calls after validating a specified value.

Type:

Function

This function should apply the validation result that the validator passes as a parameter. The validation result is an object. You can see its structure in the description of the dxValidator.validated event argument.

bypass

A function that returns a Boolean value specifying whether or not to bypass validation.

Type:

Function

If the function returns true, validation is bypassed, otherwise validation is performed.

focus

A function that sets focus to a validated editor when the corresponding ValidationSummary item is focused.

Type:

Function

getValue

A function that returns the value to be validated.

Type:

Function

reset

A function that resets the validated values.

Type:

Function

The function resets the values so that end users can then specify other values. This function is called by the reset method of the Validator widget.

validationRequestsCallbacks

Callbacks to be executed on the value validation.