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

    Interface OnSubmitCallbackData

    Data passed to a custom OnSubmitCallback.

    interface OnSubmitCallbackData {
        form: HTMLFormElement;
        submissionBlocked: boolean;
    }
    Index

    Properties

    form: HTMLFormElement

    The form that is about to be submitted.

    submissionBlocked: boolean

    true if the form should not be submitted, e.g. because the submit button requires validation and the form is invalid. false if the form will be submitted unless prevented by this or another callback.