Home › Forums › ACF PRO › How to Select Repeater Data from a Dropdown › Reply To: How to Select Repeater Data from a Dropdown
I create CPTs for things like this all the time.
I have also done this with a repeater.
You will need to create some type of a ID field that will not change, cannot be edited. I use a field that has a unique ID created automatically that is set to read only.
In the select field acf/prepare_field you get the loop over the repeater and set the choice values to this id and the label to some king of title field on the row.
To show this you would need to loop over the repeater of your options page to find the matching ID for every CTA.
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.