Support

Account

Home Forums Bug Reports 5.7 – AJAX validation broken on acf_form() front-end Reply To: 5.7 – AJAX validation broken on acf_form() front-end

  • Oh my! That worked @becleung 🙂

    I had already set a return URL on the AJAX form, so happy days!

    It’s all bit hacky though, because I have several acf_form() on different pages and I had to target the specific page where my AJAX form loads the additional acf_form(array('form' => false)); suggested by @becleung. Otherwise, the other forms look all over the place after submission.

    What I don’t understand is why calling acf_form_head() on the AJAX call does not work?

    Hopefully the guys at ACF will find a solution but in the meantime, a million thanks @becleung! 🙂