This section describes members used to manipulate the widget.
Gets the root element of the widget.
Sets focus to the editor associated with the current Validator object.
Returns this widget's instance. Use it to access other methods of the widget.
Detaches all event handlers from the specified event.
Detaches a particular event handler from the specified event.
Subscribes to a specified event.
Subscribes to the specified events.
Gets the widget's options.
Gets a specific option value.
Assigns a new value to a specific option.
Sets one or more options.
Resets the value and validation result of the editor associated with the current Validator object.
Use this method to "refresh" the editor controlled by the current Validator object. As a result, the editor's value becomes undefined, without validation errors, as it was before validating the editor.
Validates the value of the editor that is controlled by the current Validator object against the list of the specified validation rules.
The object returned by the validate() function has the following structure.
Indicates whether all the rules checked for the validator are satisfied.
The broken rule. The structure of the rule object is described in the validation Rules section.
The current Validator widget.
The current editor value.
An array of validation rules specified for the current validator. The structure of a rule object is described in the validation Rules section.