5 Replies Latest reply on Feb 19, 2016 12:49 PM by try67

    Calculate sales tax based on a dropdown menu?


      Please bear with me as I'm new to Acrobat scripting . . .


      I have created an invoice with forms and have all the calculations working perfectly, except I need to calculate the sales tax rate based on the selection of a dropdown menu.


      There are only 2 choices for the selection: Residential or Commercial.


      For Residential, the sales tax rate should be 0.


      For Commercial, the sales tax rate should be .0825.


      I currently have the selection built as a dropdown box, and I've entered the correct Export Values for each item. But I'm unclear as to how to use the Export Value to make the calculation.


      Any help is greatly appreciated!