Home › Forums › Backend Issues (wp-admin) › Validate_value fails with get_field_object is used › Reply To: Validate_value fails with get_field_object is used
the ACF hook passes the current field, but it will not help you get a value from another field.
If the field has been set before you need to supply the field name and then post ID. The post ID is available in one of the other $_POST values, I don’t recall at the moment what the index is.
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.