Skip to main content
Participating Frequently
September 22, 2020
Question

Acrobat Pro DC - liste aus Excel oder Textdatei zu Dropdownfeld hinzufügen

  • September 22, 2020
  • 1 reply
  • 1363 views

Hallo liebe Gemeinde,

zurzeit arbeite ich mit Acrobat Pro DC 20.012.20043.3217 und versuche mich mit dem Erstellen von Formularen.

 

Wie ich Formularfelder hinzufüge weiß ich, aber mit dem Dropdownfeldern bzw. dem Füllen von den Dropdownfeldern tue ich mir schwer.

Das Einfügen einzelner Einträge geht ohne Problem.

Ich habe aber einmal eine Excel-Liste mit Werten (40 Stück) und auch Textdateien mit Werte welche ich gerne in die Dropdwonliste habe möchte.

Nur finde ich nirgens eine Möglichkeit eine komplette Liste einzufügen. Suche schon seit gefühlt 2 Stunden und probiere - bekomme es aber nicht hin.

 

Könnt ihr mir hier bitte helfen.

 

Vielen Dank

Gruß

Dietmar

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
September 22, 2020

It can be done with a script. The basic code is:

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

 

If you're interested, I've created a (paid-for) tool that allows you to do it quickly and easily, without having to write any code. You can find it here: http://try67.blogspot.com/2009/11/acrobat-import-text-file-to-drop-down.html

 

Participating Frequently
September 23, 2020

Hallo,

danke für deine Antwort.

Leider ist deine Lösung nicht praktikabel.

 

In meinen Listen sind manchmal mehr als 40 Einträge.

 

Gruß

Dietmar

try67
Community Expert
Community Expert
September 23, 2020

My script can import thousands of items.