Home › Forums › ACF PRO › Validation looks 'unexpected' › Reply To: Validation looks 'unexpected'
This usually happens when there is an error during the AJAX request. Check for PHP errors during the request.
In your function you are using get_field() to get values. ACF has not saved any values during validation. When validating fields you need to look in the $_POST[‘acf’] array (or $_POST[‘fields’] if your using ACF4).
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.