3 Replies Latest reply: Jun 11, 2013 4:30 PM by MichaelN RSS

    Dropdown Selections

    afierke Community Member

      I pulled in an excel form into Adobe Acrobat 11 to create a pdf form.  I have one dropdown field for bank account selection which has over 300 possible choices.  How would I copy these items from excel and paste them into the items list in the pdf form?  I don't want to add them all manually.

        • 1. Re: Dropdown Selections
          MichaelN Community Member

          1. Create a text field and name it "AccountName"

           

          2. In the drop down menu's properties, choose Options tab and tick "Commit selected value immediately"

           

          3. In the drop down menu's properties, choose Validate tab and enter the following custom validation script:

           

               this.getField("AccountName").value = event.value;

           

          Thank you to Gilad D for mentioning this syntax in another post... he is a great source of information!

          • 2. Re: Dropdown Selections
            try67 CommunityMVP

            Michael, I don't think you understood the question. OP was asking about importing an entire list of items from an Excel file into a drop-down field, not about copying the selected value in a dropdown to a text field (which is what the code you provided does).

            • 3. Re: Dropdown Selections
              MichaelN Community Member

              OK, I understand.

               

              Apologies to afierke for any confusion.