Link to home
Start Free TrialLog in
Avatar of JVauditor
JVauditor

asked on

Adobe 8.0 custom calculation script for minimum value

This is simple in concept, but I can't figure out how to do it.  I'm working with forms in Adobe Acrobat Professional 8.1.1, and would like to subtract variable B from variable A (both input by the user into the form), and return a value of zero if the difference is negative, or the actual calculated value if the difference is positive.  However the Adobe website offers no help at all when it comes to writing script.  

Is there a simple calculation for this?  Does anyone know of a website that would give me sample javascript calculations for Adobe forms?
ASKER CERTIFIED SOLUTION
Avatar of b0lsc0tt
b0lsc0tt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JVauditor
JVauditor

ASKER

b0lsc0tt,

You've been most helpful.  I was previously unaware of that site, and after a little searching, have been able to glean enough information to accomplish the task.  Thank you!

JVauditor
Your welcome!  I'm glad I could help.  Thanks for the grade, the points and the fun question.

bol