I have this code, it is supposed to add a new row to my repeat field, but it replaces the existing row instead, Can someone help me with this?
$existing = get_field( 'field_6044ccf9a0325',$post_id);
if ( ! is_array($existing) ) $existing = ;
$field_key = "field_6044ccf9a0325";
$additions = [
"member" => $applicant_userid,
"application_date" => $today,
"group_status" => "pending",
"payment_status" => "pending_payment",
$updated = $existing + $additions;
update_field( $field_key, $updated, $post_id);
Try using field keys for the sub fields as well.