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

Calculations within a PDF form

tjinjax
Registered: Jan 11 2007
Posts: 10

I'm trying to calculate the values of both checkboxes and a text fields using the Simplified Field Notation. For some reason it will not work. I'm wondering if checkboxes values cannot be calculated since when I change them to text fields the operation runs. Short of writing a custom calc JS is there a way around this? I'm trying this:
Check Box1 + Check Box2 + Check Box3 - Text5 + Text8...this is the calc notation in the form's last text field. MANY thanks in advance!

My Product Information:
Acrobat Pro 8, Windows
tedpadova
ExpertTeam
Registered: Dec 31 2005
Posts: 848
You're right. Checkboxes can't be calculated unless you use a script to get the export values assigned to the checkboxes or accumulate values associated with on/off toggles. The best and easiest way to handle your field calculations is to use text fields.

Additionally, you'll find calcualting fields much easier by using parent/child names. Instead of using CheckBox1, CheckBox2, etc. Use names like CheckBox.1, CheckBox.2, etc.

ted

The author of numerous books on Acrobat, Photoshop, Illustrator and the Adobe Creative Suite, and an international speaker on Adobe Acrobat, Ted Padova is a well-known PDF guru.