You can use FormCalc for this. It even has a "Sum" function. You can read more about it and download the FormCalc Reference here:
http://kb.adobe.com/selfservice/viewContent.do?externalId=330467&sliceId=2To add fields together, especially fields in a table, you'll need to use the SOM path, or hierarchy path to the field. Watch this video to learn about scripting in LiveCycle documents.
http://kb.adobe.com/selfservice/viewContent.do?externalId=330467&sliceId=2To add fields together, especially fields in a table, you'll need to use the SOM path, or hierarchy path to the field. Watch this video to learn about scripting in LiveCycle documents.
https://admin.adobe.acrobat.com/_a200985228/p87746471/
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script