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

83

Likes

translate

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

Adobe Community Professional , 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

Likes

translate

Translate

Translate
Adobe Community Professional ,
Sep 19, 2018 Sep 19, 2018

Copy link to clipboard

Copied

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

Likes

translate

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