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
Just did that and I get no errors or Notices 🙁
Another thing I’ve tried is to simply place the form on a template, without loading it via AJAX (which works). I then copied the code generated by
acf_form(). Then, I also copied the code generated by
acf_form() after it had loaded via AJAX on a modal.
I saved them both on separate text files and did a DIFF. The one on the modal doesn’t seem to be loading quite a few CSS classes and divs that seem to be related to validation.
Is there any other JS actions you can think of that I need to include? Adding
acf_form_head() to the PHP AJAX call didn’t help, I’m afraid.
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!