Home › Forums › General Issues › Using Post Object Relationship field with add_post_meta in front end form › Reply To: Using Post Object Relationship field with add_post_meta in front end form
Most of your fields are basic field types and post object fields are not.
You are inserting the correct value, and in the admin ACF should be picking this field up correctly and showing the correct apartment, I’m not sure why it’s not. One possibility is that the post ID does not meed the criteria set for the post object field, for example it’s the wrong post type. Another possibility is that the post object field is set to allow multiple selections, if it is then ACF could be looking for an array (serialized) in the db value. How is the post object field set up?
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.