Support

Account

Home Forums Add-ons Repeater Field Get value from next row in repeater Reply To: Get value from next row in repeater

  • You have this

    
    $previous_row_value = $blocks[$index-1]['fb_title'];
    

    it should be

    
    $previous_row_value = $blocks[$prevIndex]['fb_title'];
    

    the same for next, you are using $index+1 but should be using the calculated value $nextIndex