Support

Account

Home › Forums › Add-ons › Repeater Field › "Add" repeater field results › Reply To: "Add" repeater field results

  • do you talk about backend or frontend?

    i think something like this should work(for frontend):
    outside(before) the values loop define variable
    $total = '0';
    inside the values loop
    $price = get_sub_field('price'); $total = $total + $price;
    outside(after) the values loop
    echo $total;