Skip to main content
Participating Frequently
August 15, 2020
Answered

Summing numbers from a text dropdown menu

  • August 15, 2020
  • 1 reply
  • 1014 views

Hi

I have a pdf that contains dropdown menu for type of ID document. In my example, the dropdown option is 'passport'. I want to then create a script that will add my total number of 'crew' if the fields contain the 'passport' dropdown. Ie if I select 'passport' on a row, then automatically the total crew is 1. On next row, if i add 'passport' again, totla crew is now 2. If Passport is not selected on a row then it doesnt add that as a person. The drop down has to be selected to 'Passport' for it to register a person and then add it from each row if selected. 

This topic has been closed for replies.
Correct answer Nesa Nurani

If you just calculate passport as value it's easy:

give passport export value of 1 and give other choices export value of 0 or no value at all.

In the field where you want result to show go to calculate tab and choose"value is the" and pick your dropdown fields.

1 reply

Nesa Nurani
Community Expert
Nesa NuraniCommunity ExpertCorrect answer
Community Expert
August 15, 2020

If you just calculate passport as value it's easy:

give passport export value of 1 and give other choices export value of 0 or no value at all.

In the field where you want result to show go to calculate tab and choose"value is the" and pick your dropdown fields.

Participating Frequently
August 15, 2020

awesome, works! thank you so much