Support

Account

Home Forums Add-ons Repeater Field Dynamically Populate Repeater Field Reply To: Dynamically Populate Repeater Field

  • You only need to dynamically load the repeater and not the sub fields.

    
    // set load value for repeater
    $repeater = array(
      // a nested array for each row
      array(
        // a value for each subfield
        // use field keys rather than field names
        'field_0123456789abc' => 'value for field', 
        'field_0123456789abd' => 'value for field',
        // etc...
      )
    );