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! 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.