formcycle 8.3.6 - JavaScript for forms
    Preparing search index...

    Interface XmValidatorOnProgressData

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

    interface XmValidatorOnProgressData {
        idx: number;
        item: JQuery;
        items: JQuery;
        itemValid: boolean;
        silent: boolean;
        type: "main" | "sub";
        valid: boolean;
    }
    Index

    Properties

    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: JQuery

    The current item that was validated.

    items: JQuery

    A list of all items to be validated.

    itemValid: boolean

    Whether current item that was validated is valid.

    silent: boolean

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

    type: "main" | "sub"

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

    valid: boolean

    Whether all elements validated thus far are valid.