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

    Interface XmValidatorOnBeginResult

    Result value that can be returned by the begin callback of the form validator, see XmValidator.on and XmValidatorCallbacks.

    interface XmValidatorOnBeginResult {
        exclude?: HTMLElement[];
        include?: HTMLElement[];
        valid?: boolean;
    }
    Index

    Properties

    exclude?: HTMLElement[]

    When given, these items are removed from the items to validate. Excluded items are never included, even when specified via include.

    include?: HTMLElement[]

    When given, these items are added to the items to validate.

    valid?: boolean

    No effect when true or missing.

    When false, the validated items are considered to be invalid. All elements are still validated to ensure the proper error messages are displayed, but the result of the validation will be false (=invalid).