Expand my Community achievements bar.

Calculations in a dynamic table

Avatar

Former Community Member
Hi,



I have a table in a dynamic form where the user can dynamically insert or remove rows. One of the columns in the table is a numerice field.



How can I sum the values in this numeric field?



This is straight forward in a table with a fixed number of rows but I can't figure out how to do it when there is a variable number of rows.



Thanks for any help.



Chris
1 Reply

Avatar

Former Community Member
Hi Chris

Checkout the dynamic purchase order sample in the help file. The script is in Formcalc though. If anyone knows how to do in Java please post.