Copy link to clipboard
Copied
I am creating a survey using Adobe DC. One of the questions is asking users regarding their country of origin. As of now, I have a drop down box with 212 selectable countries. Each one of these countries corresponds to a code which automatically fills itself in a different box when a country is selected.
Currently, users are able to scroll through the options and select the country of their choice. They are also able to type in the first letter, and will automatically be brought to the first country in the list with the second letter highest in the alphabet (example: if the user types in C, they are brought to the list of C countries, beginning with Cambodia).
I would like to see if it is possible to get the dropdown box to allow users to type in the country name, and the dropdown box refreshes itself to offers users countries that match what they type. For example the users types 'C', and all C countries appear first in the drop down box (this already happens.) Ideally the user would be able to type A after that, and the dropdown box would narrow down the selections to Cambodia, Canada, Cameroon, Cape Verde . Right now, if the user types in A after C, the drop down box brings the user to the top of the list with the countries that start with A.
Is this possible to fix? Thanks.
Copy link to clipboard
Copied
Go to the field's Properties, and under Options tick the box that says "Allow user to enter custom text".
Copy link to clipboard
Copied
Thanks for the reply. I went ahead and tried that, and had a couple of issues.
1. Allowing users to enter custom text stops the drop down box from working. If I type in 'Vie' for Vietnam, the drop down box doesn't bring anything up.
2. If I type in the correct country name "Vietnam", the corresponding code in the adjacent box does not appear and instead the word 'Vietnam' appears where normally a 3 digit number would had I selected the country name from the drop down box.
Any suggestions?
Copy link to clipboard
Copied
I see what you mean now... In that case, I'm afraid it's not possible. The closest you can get to it is to use a separate field (a text field) as the "filter" for the drop-down. You can set that up using this script I've developed: Custom-made Adobe Scripts: Acrobat -- Create Live Filtered List
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more