Need help incorporating a checkbox to a calculation
Hi,
I am developing a PDF fillable form for travel requests. I want to be able to calculate additional mileage with a checkbox. If a person inputs the mileage into the mileage box, and the current govt. rate, then it will calculate in a different field. I can do that calculation as "product". However, I would like to add that if the person selects the checkbox marked "RT-round trip" it will double the mileage and times by the govt. rate. I am assuming I can only do this using javascript and am a "noobie" to writing javascript. I have looked at several discussions and websites for help but can't quite seem to grasp what is needed. The fields are identified as such: "Estim.Miles1", "Check Box 1", "Rate/Mile", "Mileage.TOTAL" Any help on this would be appreciated.
Thank you
