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

check box to activate calculation

jrenee97045
Registered: Mar 29 2010
Posts: 25
Answered

Is this possible? I'm trying to click a check box ("check1") to run a calculation ("surcharge") based on on the total of another field ("subtotal"). I'm very new to writing javascript and just don't have a clue. Help?

My Product Information:
Acrobat Pro 9.3.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Read this:
http://www.acrobatusers.com/tutorials/conditional-execution

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/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

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