Good afternoon,
For simplicity purposes let's say that we have a collection with two radio buttons (a and b). and also a number field.
Outside of the collection we have 2 boxes (totals_a and totals_b).
Right now, we are using the javascript example found under https://www.laserfiche.com/support/webhelp/Laserfiche/10/en-US/administration/#../Subsystems/Forms/Content/Customizing-Your-Form-Examples.htm to sum all quantities entered into the number field and then populating the totals in totals_a and totals_b.
We would like to extend the functionality so that only the totals_a box has the sum for those items where the radio button is "a" and only the totals_b box has the sum for those items where the radio button is "b".
For example,
I add three items in the collection
ITEM 1 = Radio "a" and number 4
ITEM 2 = Radio "b" and number 2
ITEM 3 = Radio "a" and number 7
totals_a box = 11
totals_b box = 2
Before embarking into research for this I wanted to ask you if you've worked on something similar that I can take a look at or if there is a more straight out-of-the-box function to tackle this.
Thank you,
Raul Gonzalez