Answered
Hi Everyone,
Is it possible to use this script in relation to the value in a drop down?
for instance I have two calculations:
1). For cost per lead, where the amount would be the standard "Sum(detail[*].numAmount)"
2). For cost per thousand, where the amount would be divided by 1000.
I was wondering if I could add some scripting that would make the formula "Sum(detail[*].numAmount)" conditional on the binding of the drop down.
Is this possible?
Joe
To get the cost per thousand value, just add a calculation script to the "cost per thousand" field and divide the input value by 1000.
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