Home › Forums › Add-ons › Options Page › Adding Repeater Field Values to a Post › Reply To: Adding Repeater Field Values to a Post
You would need to create a select field and dynamically populate the values of the select field from the values in the repeater.
You will also need to add a unique identifier field to every row of the repeater so that if anything else in the row is changed this value can still be used to locate it. https://www.google.com/search?q=acf+repeater+unique+id
You will use this unique field to loop over the repeater an locate the one to show.
This is not the best way to accomplish what you want to do. The best way would be to create a custom post type to hold your Ads and then use a post object field to select them.
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’re reaching out to our multilingual users to ask for help in translating ACF 6.1. Help make sure the latest features are available in your language here: https://t.co/TkEc2Exd6U— Advanced Custom Fields (@wp_acf) May 22, 2023
© 2023 Advanced Custom Fields.