Support

Account

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'];