Home › Forums › Front-end Issues › How to validate fields on the same page when using acf_form() › Reply To: How to validate fields on the same page when using acf_form()
I can’t seem to edit my original message so I’d like to add a few extra details. I get the follow error:
When I look a bit closer it seems like an ajax request is sent but gives a 500 error with the same content as above:
I don’t know if this is default ACF behaviour but it might give an idea as to what is happening. acf_form_head()
is added via the init hook so it’s not a question of not having the correct files enqueued.
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.