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

Button

josixpack
Registered: Jan 4 2010
Posts: 9

How can I make a button that will calculate different fields and dispaly the result in another field.

Example, if field1 = A and field2 = B and field3 = C then field4 = Pass else Fail.

Thanks for any help.

Joe

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Look on the "Learning Chenter" menu above and select "Tutorials". Enter "calc" into the search box and press the search button.

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

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Keep your eye out for the next tutorial. It'll cover writing this kind of code.

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