Home › Forums › Add-ons › Repeater Field › Display Values from Options Page Repeater Field in CPT Editor? › Reply To: Display Values from Options Page Repeater Field in CPT Editor?
You need to give each row of the repeater some unique identifier. Rows can be reordered in the repeater, when this happens there isn’t any way to match them up. Also, things can be removed, added, etc. This needs to be dynamically generated in some way. Here is one example: https://second-cup-of-coffee.com/creating-unique-ids-for-acf-repeaters/, if you search you will find others.
You use a select field and dynamical populate the values of that field using the unique value from the repeater as your select value and the feature name as the label.
On the front end you get this field then loop over the repeater showing the rows that match the selected unique values.
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.