Home › Forums › ACF PRO › Using acf-form() in ajax call › Reply To: Using acf-form() in ajax call
Hey @e-crespo
Is it possible that you’re not calling acf_form_head()
in your PHP somewhere prior to any markup being rendered? It’s easy to forget to do this if you’re bringing your actual acf_form()
in via AJAX.
In the end, we’re building our own front-end forms that post manually to ACF in the PHP handlers as acf_form_head
wasn’t playing particularly nicely with some other stuff that we had going on.
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.