Home › Forums › General Issues › Populate Dropdown with Custom Field Values from a custom post type and autofill › Reply To: Populate Dropdown with Custom Field Values from a custom post type and autofill
I’m not sure I understand your query, so please forgive me if I’m wrong.
I believe you should be able to do it. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/. But instead of getting the choices from a text area, you need to populate it from the custom post types.
That being said, I suggest you use the post object field instead. This field will allow you to select the post object (custom post type) and create a relationship with it. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/post-object/.
I hope this helps 🙂
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.