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

Calculations stop working????

ahas
Registered: Dec 17 2007
Posts: 6

I have a simple form with a one text box calculating the total of check box export values (on the calculate tab using the "value is the sum of" option) and another with the total of a combo box export value (same option used here).
Everything works perfectly until I close the form & reopen it.
The two total text fields stop calculating at that point, until I reset them up to get the totals again.
What am I doing wrong?

My Product Information:
Acrobat Pro 8.0999999999999996447286321199499070644378662109375, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Could be a number of things. Can you post the form somewhere we could look at it?

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

ahas
Registered: Dec 17 2007
Posts: 6
Form posted at [url=http://home.exetel.com.au/nohassell/Application.pdf]http://home.exetel.com.au/nohassell/Application.pdf[/url]
Fields failing to recalculate after saving, closing & reopening are:
Pay.Total and Total.Term
on page 2.
Both fields are hidden via validation scripts if value = 0
Pay.Total's validation script is attached to text box Total.Plan on page 1
Total.Term's validation script is attached to combo box Term on page 2
Regards
Anne
ahas
Registered: Dec 17 2007
Posts: 6
I solved it!!!!! :)
I went back to the original non-form pdf & started again from scratch.
It's all working now, so I don't know what I did wrong the 1st time (except a lot of mucking around trying different methods of hiding the zero value fields).