Support

Account

Home Forums Add-ons Repeater Field Count Repeater Items Reply To: Count Repeater Items

  • I just did a quick test using this code for a nested repeater and it’s working fine for me outputting the number of rows added in each

    
    // repeater
    if (have_rows('repeater')) {
      while (have_rows('repeater')) {
        the_row();
        // nested repeater
        echo count(get_sub_field('nrepeater')),'<br />';
      }
    }
    

    I can’t say what’s causing issues for anyone.