Sum Total of a RG without saving to DB

hi guys, I am trying to calculate the sum of a repeating group where I use a custom state to determine the Qty…


I know I can calculate the sum of the Qty by saving those into the DB and then using :sum, but I am afraid of performance…(imaging saving into the DB every time I hit + or -).

is there another way to do this? thanks

BDK’s Repeating group plugin will do this. You can also try Orchestra plugin

You have been really helpful Sharma, thanks again!

Perhaps a variation of the solution that @SerPounce provided might work? It iterates over a RG and requires no plugin.