These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

how to write simple math calulations using script

rbadali
Registered: Mar 10 2008
Posts: 2

I am new to scripting and require some help. I would like to know how to write the script how the following:

Field D= the value of Field A + the value of Field B - the value of Field C

In Excel, this is easy. But here is where I require some help.

Thanks,

My Product Information:
Acrobat Pro 8.1.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This is also very easy in Acrobat, although Acrobat was not built for calculations like Excel is. Open up the Acrobat Help file and look up Simplified Field Notation.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script