Skip to main content
Participating Frequently
August 15, 2020
解決済み

Summing numbers from a text dropdown menu

  • August 15, 2020
  • 返信数 2.
  • 1041 ビュー

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. 

このトピックへの返信は締め切られました。
解決に役立った回答 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.

返信数 2

Nesa Nurani
Community Expert
Nesa NuraniCommunity Expert解決!
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.

marc123gow作成者
Participating Frequently
August 15, 2020

awesome, works! thank you so much