Support

Account

Home Forums Front-end Issues Acf form validation

Helping

Acf form validation

  • Hi,

    I use acf_form to frond-end submission :

    1/ How can i add custom attribut for each field in my form ? ( exemple “aria required” attribut or html5 required attribut )

    2/ I would like the form be accessible for javascript disabled, how can i do ?
    actually in this case i have a grey screen with errors list, the html code begin by:

    Ticket #11289, IE bug fix: always pad the error page with enough characters such that it is greater than 512 bytes, even after gzip compression

    Thank you

  • Hi @flow

    1. I believe you can use .attr() function from jQuery.

    2. I’m afraid you can’t do that. acf_form() relies heavily on JS, thus disabling the JS will likely break it.

    I hope this makes sense.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Acf form validation’ is closed to new replies.