Expand my Community achievements bar.

calculate in repeating subform

Avatar

Former Community Member

HI

I previously posted this in Livecycle forms - hoping someone here can help me. I can give lots more info as needed. I have been using Livecycle designer for a year or so, designing forms, but I don't know much about scripting - any helpful scripting sites would also be welcomed.

I am hoping someone can give me some advice.

I need to repeat a flowed subform, which has a dynamic (growing) table in it (grows using add row button). In that table, there is a calculation (summing a column).

That sum is then used in another table lower in the same subform, in a couple of places (dividing the sum by a number, subtracting the sum from another numbered entered separately)

My problem is that when the second copy of the subform is made, the sum is always the same - I know this has something to do with needing to count the times the subform is created and then using some kind of Var function to make the sum change with each iteration of the subform. I just don't know how to do it!!

Any help appreciated... 

0 Replies