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!
🚨 The 2023 ACF Annual Survey closes tomorrow! This is your last chance to complete the survey and help guide the evolution of ACF. https://t.co/0cgr9ZFOJ5— Advanced Custom Fields (@wp_acf) May 18, 2023
© 2023 Advanced Custom Fields.