Calculate Sum of field family from spawned pages
My PDF form consist of:
1 normal page
2 template pages that are being spawned:
template1 has the field1 that I want to get the Toal sum of
template 2 is not relevant
On page 1 I want to have a text field that calculates the sum of all Pnn.template1.fieldname1 fields in the whole document
the number spawned pages is always different depending on the length of the report
how would such a calculation script look like and where would it go? would it be possible to calculate the value every time I spawn a new page or would it go to a button that searches for all fields in the end when I am done with editing of the document?
thanks a lot in advance, any help is much appreciated!!
