Interface XmValidatorOnProgressData

Data that is passed to the progress callback of the form validator, see XmValidator.on and XmValidatorCallbacks.

Hierarchy

  • XmValidatorOnProgressData

Index

Properties

idx

idx: number

The index of the form element being validated. Dividing the index by items.length gives the ratio of elements that have finished validation.

item

item: JQuery

The current item that was validated.

itemValid

itemValid: boolean

Whether current item that was validated is valid.

items

items: JQuery

A list of all items to be validated.

silent

silent: boolean

Whether the validation process is to be silent (=no change to the visible error messages).

type

type: "main" | "sub"

The type of the validation, either main or sub. Each main validation consists of multiple sub validations.

valid

valid: boolean

Whether all elements validated thus far are valid.