AMTI
Member
/*
Joomla 2.5.9.
Fabrik 3.0.7 w/ latest Git
Any Browser
*/
I know this can happen:
I have 2 Groups: Group 1 is the Line Item Group, Group 2 is the Total Group.
The Line Item Group has a several elements and is repeating as a table. You can add and remove on the fly via ajax. The ones we are concerned about are:
Quantity(int), Price Ea. (int), Price (calc: Quantity* Price Each)
Price calculates perfectly.
The Total Group has only one element: Grand Total. I need this element to calculate the total of all the calculated price elements on the fly.
only gives me the first value of the repeatable group.
I know these values have got to be stored somewhere inside an ajax array somehow.
How can I get these calculated price values to sum and return to the grand_total element?
Please see attachment for extreme clarification.
Thanks in Advance,
Trip
Joomla 2.5.9.
Fabrik 3.0.7 w/ latest Git
Any Browser
*/
I know this can happen:
I have 2 Groups: Group 1 is the Line Item Group, Group 2 is the Total Group.
The Line Item Group has a several elements and is repeating as a table. You can add and remove on the fly via ajax. The ones we are concerned about are:
Quantity(int), Price Ea. (int), Price (calc: Quantity* Price Each)
Price calculates perfectly.
The Total Group has only one element: Grand Total. I need this element to calculate the total of all the calculated price elements on the fly.
Code:
return '{tablename___price}'
I know these values have got to be stored somewhere inside an ajax array somehow.
How can I get these calculated price values to sum and return to the grand_total element?
Please see attachment for extreme clarification.
Thanks in Advance,
Trip