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.
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘Select specific row from repeater’ is closed to new replies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users