Home › Forums › Add-ons › Options Page › Select specific row from repeater › Reply To: Select specific row from repeater
Hi @skweeze
Thanks for the post.
You need to note that the select field expects some choices with a value and label and your sub fields should match this criteria. If you have more than two sub fields, you will need to add some logic to extract the values from the repeater array within your foreach loop and append the variables to the select field choices through:
// append to choices
$field['choices'][ $value ] = $label;
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.