Skip to main content
AquaMystique
Participant
September 25, 2020
Answered

Acrobat Interactive Form Tax Calculation

  • September 25, 2020
  • 2 replies
  • 2002 views

Hi, I'm currently a college student working on a project to create an interactive PDF form using a combination of InDesign and Acrobat.  So far I have everything figured out; however, I'm trying to figure out how to format the invoice form to calculate an 8.25% sales tax rate using the information in a "Subtotal" field (the Subtotal being the sum of 3 other fields).  Unfortunately, I have not found what formula to use to calculate the sales tax.  Attached are what I have so far.  I have used "Subtotal 1*0.0825", "Subtotal1*0.0825", and "Subtotal1*.0825" in both the Simplified field notation and the Custom calculation script sections and am unsure of where I'm going wrong.  Thank you for any help in advanced!

    This topic has been closed for replies.
    Correct answer George_Johnson

    If you're going to use space characters in the field names, you have to escape them with a backslash when using the simplified field notation option, like this:

     

    Subtotal\ 1 * 0.0825

     

    I'd personally remove the space from the field name though. They just cause trouble.

    2 replies

    George_JohnsonCorrect answer
    Inspiring
    September 25, 2020

    If you're going to use space characters in the field names, you have to escape them with a backslash when using the simplified field notation option, like this:

     

    Subtotal\ 1 * 0.0825

     

    I'd personally remove the space from the field name though. They just cause trouble.

    AquaMystique
    Participant
    September 25, 2020

    Thank you for the help!! This worked perfectly.  I'll definitely keep that in mind for future forms.

    Peru Bob
    Community Expert
    Community Expert
    September 25, 2020

    I've moved this from the Using the Community forum (which is the forum for issues using the forums) to the Acrobat forum so that proper help can be offered.

    AquaMystique
    Participant
    September 25, 2020

    Oh, thank you! I'm still figuring out how to use this forum since this is the first time using any forum.

    Inspiring
    September 25, 2020

    Also, be sure to set the field calculation order. If you don't know what this means, post again.