Highlighted

Drop-down list

New Here ,
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

50

Likes

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

Drop-down list

New Here ,
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

51

Likes

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
Oct 21, 2020 0
Adobe Community Professional ,
Oct 21, 2020

Copy link to clipboard

Copied

You can use a script with setItems.

Likes

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
Reply
Loading...
Oct 21, 2020 0
try67 LATEST
Most Valuable Participant ,
Oct 22, 2020

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Oct 22, 2020 0