Need help scripting in Acrobat 8P.
I have a list price field, discount field (end user will enter the percentage of discout (20, 25, 30, etc.)), and discounted price field.
What would be the best way to script it to calculate the discounted price (list - discout)?
// user entry field is: discount
var f =this.getField("discount");
var g =this.getField("amount");
event.value = g.value - (f.value * g.value);
ted
The author of numerous books on Acrobat, Photoshop, Illustrator and the Adobe Creative Suite, and an international speaker on Adobe Acrobat, Ted Padova is a well-known PDF guru.