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)?
My Product Information:
Acrobat Pro 8.1 / Macintosh
Offline

Try this:
// user entry field is: discount
var f =this.getField("discount");
var g =this.getField("amount");
event.value = g.value - (f.value * g.value);
ted
Offline
AcrobatUsers.com >> User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in