railer
Member
Thanks Rob! That does add up the repeat group point values. Awesome! Now I'm stuck with getting a grand total which includes the other items.
Here is what I'm currently working with:
It isn't totaling the last value, 'fab_dailysheet___extra_points'.
Where am a going wrong? I've tried numerous iterations of the above, but can't quite get it to total everything. Also, when do I include "_raw" in the placeholder?
*** Nevermind: I just noted the missing curly bracket for the last placeholder! It's working! Thanks so much! ***
Railer
Here is what I'm currently working with:
Code:
$npoints = array_sum($_POST['join'][1]['fab_dailysheet_3_repeat___nutrition_points_raw']);
$sum=$npoints+'{fab_dailysheet___physical_points}'+'{fab_dailysheet___sleep_points}'+'fab_dailysheet___extra_points}';
return $sum;
It isn't totaling the last value, 'fab_dailysheet___extra_points'.
Where am a going wrong? I've tried numerous iterations of the above, but can't quite get it to total everything. Also, when do I include "_raw" in the placeholder?
*** Nevermind: I just noted the missing curly bracket for the last placeholder! It's working! Thanks so much! ***
Railer