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

Drop-down list

New Here ,
Oct 21, 2020 Oct 21, 2020

Copy link to clipboard

Copied

Hi, I would like to create a pdf form with acrobat. Is it possible to enter multiple data at the same time in a drop-down list? It only makes me add them one at a time. In addition, I would like to associate each value in the drop-down list with a specific value. Thank you in advance.

TOPICS
Create PDFs , Edit and convert PDFs , PDF forms

Views

192

Translate

Translate

Report

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
Community Expert ,
Oct 21, 2020 Oct 21, 2020

Copy link to clipboard

Copied

You can use a script with setItems.

Votes

Translate

Translate

Report

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
Community Expert ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

LATEST

This can be achieved using a script, as mentioned.

The basic code is this:

this.getField("Dropdown1").setItems(["Item 1", "Item 2", "Item 3"]);

If you want to specify an export value for each item you can do it like this:

this.getField("Dropdown1").setItems([["Item 1", "1"], ["Item 2", "2"], ["Item 3", "3"]]);

 

If you're interested, I've created a (paid-for) tool that allows you to import the items from a text file, including export values, into one or more drop-downs. You can find it here: http://try67.blogspot.com/2009/11/acrobat-import-text-file-to-drop-down.html

Votes

Translate

Translate

Report

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