Certainly! This is just a calculation. In the field where the result will be displayed add the following code to the Calculation Event.
event.value = .4 * this.getField("Amount");
Take a look at this article: [url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/form_calculations/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/form_calculations/[/url]
The Acrobat JavaScript Reference, Use it Early and Often [url=http://partners.adobe.com/public/developer/en/acrobat/sdk/ pdf/javascript/AcroJS.pdf]Acrobat JavaScript Reference[/url]
event.value = .4 * this.getField("Amount");
Take a look at this article:
[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/form_calculations/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/form_calculations/[/url]
Thom Parker
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://partners.adobe.com/public/developer/en/acrobat/sdk/
pdf/javascript/AcroJS.pdf]Acrobat JavaScript Reference[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script