Support

Account

Home Forums Front-end Issues Submit frontend form even if validation fails Reply To: Submit frontend form even if validation fails

  • Hi there,

    I’m also needing a front end acf_form() to NOT validate. I have a massive form which has a ‘save for later’ option. Obviously with required fields this cannot work.

    I have tried the

    window.acf.validation.active = false;

    and set the submit button to

    formnovalidate

    what happens now is I no longer get the HTML5 validation on the page, but it now moves to a new page with a window that displays the fields that are not validated.

    thus
    —————————-
    Validation failed

    Project Title value is required
    Sub-Specialty value is required
    Current CV value is required
    —————————-

    So the form is still not saved unless these fields are populated.

    It is at all possible to disable validation on a front end acf_form() ?

    Thanks in advance and apologies if I have missed this solution elsewhere….

    NK