Skip to main content
abbyh437874
Participant
September 19, 2018
Answered

How to calculate quantity from drop downs and text fields

  • September 19, 2018
  • 1 reply
  • 462 views

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!

This topic has been closed for replies.
Correct answer Thom Parker

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

1 reply

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
September 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

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