Home › Forums › General Issues › Get value from specific row in nested repeater › Reply To: Get value from specific row in nested repeater
Just figured out the solution to this myself so I share it here
$nfl_question_repeater = get_field('nl_form_questions', 'options' );
//Just change the number here to specify the first repeater row
$row_outer = $nfl_question_repeater[0];
$row_question = $row_outer['question'];
//Just change the number here to specify the nested repeater row
$row_inner = $row_question[1];
$row_inner_value = $row_inner['uses'];
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.