Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Form - enter state/province names to dropdown

Engaged ,
Jan 29, 2016 Jan 29, 2016

Hello again,

I am using Acrobat Pro DC using a MC Pro and I want to create a State and Province dropdown on my form. After I clicked on Properties and then Options, is there a way to enter all state/province names at the same time instead of adding one by one? I know there are scripts out there, but I thought I could create the list I needed from List States - 50 US States - Canadian Provinces - Australian States - Mexican States - Brazilian Sta... and copy and paste.

I've been reading about combo lists, but I do not see it offered in Pro DC. Please correct me if I am wrong.

Thank you.

TOPICS
Acrobat SDK and JavaScript
8.1K
Translate
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

Community Expert , Jan 29, 2016 Jan 29, 2016

Yes, it can be done, but it requires using a script.

The basic format of this script is:

this.getField("DropDownName").setItems(["Alaska", "Alabama", ...]);

If you have the items in a text file or spreadsheet and want to import them all at once you can use a tool like this one I've developed, which can be purchased from here: Custom-made Adobe Scripts: Acrobat -- Import Items from a Text File to a Combo-Box or List Field

I also offer there a free sample file with all 50 US states in a drop-down fiel

...
Translate
Community Expert ,
Jan 29, 2016 Jan 29, 2016

Yes, it can be done, but it requires using a script.

The basic format of this script is:

this.getField("DropDownName").setItems(["Alaska", "Alabama", ...]);

If you have the items in a text file or spreadsheet and want to import them all at once you can use a tool like this one I've developed, which can be purchased from here: Custom-made Adobe Scripts: Acrobat -- Import Items from a Text File to a Combo-Box or List Field

I also offer there a free sample file with all 50 US states in a drop-down field that you can copy and use in your own file.

Translate
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
Engaged ,
Jan 29, 2016 Jan 29, 2016
LATEST

that's great; thank you!

Translate
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