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

calculated result don't show after entering data

Registered: Feb 11 2010
Posts: 16

Thanks for helping me first

I have a form, calculates include plus, multiples, if...than.., every calculation act fast except if..than. It only shows the result of the earlier entry.

In order to get correct result, after all data entered, I have to find any blank field, enter zero, hit enter, then it will show calculated result. (the result is correct). if no blank field, it will not show the finals.

Please help. It is annoying have to remember enter extra zero in a blank field to get final result.

Thanks in advance for help

My Product Information:
Acrobat Pro 8.0, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Check the field calculation order. If that doesn't help, post your code here.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

krickett47
Registered: Feb 4 2010
Posts: 18
I have the following calculation that doesn't work after exiting the form and returning:

this.getField("201").value = this.getField("200").value / this.getField("213").value;

201 is formated as a percentage
200 is formated to a number
213 is formatted to sum two nubmers

When I exit the form and go back in to enter 0 in the number fields the percentage calculation does not work anymore, and I get formatting error messages. Can you help?
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Division by 0 is a mathematical error.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com