Skip to main content
Participant
March 28, 2018
Question

I need a Javascript that will allow me to calculate different tax percentages on a form. an example would be $132.00 total sales with 7.25% tax.

  • March 28, 2018
  • 1 reply
  • 585 views

I have an adobe variable data .pdf I want to be able to calculate the tax rate or tax percentage. How can I write a Javascript for this?

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
March 28, 2018

Is the rate fixed? If not, where is it coming from? What are the names of the fields involved?

Participant
March 28, 2018

The tax rate will be different from county to county.  I have it called tax rate and and total with tax.

try67
Community Expert
Community Expert
March 28, 2018

I enter all the information on this form.


Then you don't need a script, simply multiply the total by the tax rate to get the total tax amount. You can add that value to the total to get the total (incl. tax).