Home › Forums › Add-ons › Repeater Field › Populate select field with values from repeater field › Reply To: Populate select field with values from repeater field
…I would write some code to pick out the row number for the $field[‘name’] and use this to match the loop index. This will get you the current row.
Can you elaborate on this a little for me? I understand most everything up to this point.
How do I find the row number while inside my function for the load_field on Field B?
Thanks again!
David
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.