3 Replies Latest reply on Feb 6, 2013 1:20 AM by try67

    Initialize a drop-down combo box from the values in a list?

    scifiguy20904 Level 1

      I've got a list of text values in an Adobe XI pdf.  I have about a dozen combo boxes that i want to populate from the list.  I tried the following on the javascript document level for the first combo box:


      for(var i=0; i < myList.length; i++) myCombo.addItem(myList[i][0].toString());


      Is this the correct syntax do do what i'm trying to accomplish?