• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to calculate quantity from drop downs and text fields

New Here ,
Sep 19, 2018 Sep 19, 2018

Copy link to clipboard

Copied

Hi There!

I have a general understanding of Acrobat, but have not used the form tools very much.

In a nutshell, I am creating an order form where the customer chooses their item from a drop down and in the next field they enter the quantity. I am wanting to have a totaling feature added to the bottom of the form to calculate the total quantity ordered for each item in the drop down list.

Is this possible?

Thanks in advance!

TOPICS
Acrobat SDK and JavaScript

Views

266

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Sep 19, 2018 Sep 19, 2018

Yes, this is not only possible, but part of how PDF forms are supposed to work. Here is an article and sample form that shows how it's done:

https://acrobatusers.com/tutorials/how-to-do-not-so-simple-form-calculations

And here is a site where you can download a sample order form.

Free Sample PDF Files with scripts

Votes

Translate

Translate
Community Expert ,
Sep 19, 2018 Sep 19, 2018

Copy link to clipboard

Copied

LATEST

Yes, this is not only possible, but part of how PDF forms are supposed to work. Here is an article and sample form that shows how it's done:

https://acrobatusers.com/tutorials/how-to-do-not-so-simple-form-calculations

And here is a site where you can download a sample order form.

Free Sample PDF Files with scripts

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines