I need to have a text field that if a user enters A the outcome will equal 0.485 and if they enter M it will equal 0.305.
So 3 Fields all together.
Field1 A=Auto or M=Motorcycle.
Field2 = Mileage
Field3 = Mileage dollar amount.
So something like Field1 = A,
Field2 = 12, Field3 = $5.82
field3 based on A=0.485 x 12
or if they enter M, M=0.305 x 12.
Export Value Will Not Work
I have 16 of the same fields.
First, your better off using radio buttons to make the selection. Use JavaScript in the calculation script. So, for a radio button group named "RateSelect" the calculation code could look like this
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script