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!
Accordions are a great way to group related information while allowing users to interactively show and hide content. In this video, Damon Cook goes in-depth on how to create an accessible accordion block using ACF PRO’s Repeater field.https://t.co/RXT0g25akN— Advanced Custom Fields (@wp_acf) March 2, 2023
© 2023 Advanced Custom Fields.