These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Repeating drop down in table rows

cl5792
Registered: Jul 17 2008
Posts: 53
Answered

I have a LiveCycle form with a table that has one cell as a drop down. All goes well with populating the drop down, but when a row is added the drop down in the new row does not have any values. I am populating it in the drop down's initialize property. What am I missing to get the drop down to populate for a new row?

Thanks,

garath
Registered: Mar 24 2009
Posts: 49
I don't know what exactly You do. But here is working example with populating drop down in table:
http://patysie.com/files/tableWithDropdown.pdf
cl5792
Registered: Jul 17 2008
Posts: 53
This was most helpful, thanks.

Basically I need to be sure not to use a specific reference in the initialize event or the button click event when populating the dropdown and adding the row.

form1.#subform[0].Table1.Row1.DropDownList1::initialize: - (JavaScript, client)

this.addItem("1");
this.addItem("2");
this.addItem("3");

The row reference needs to by prefaced with the "_" instead of a specific object reference .

form1.#subform[0].Button1::click: - (JavaScript, client)

Table1._Row1.addInstance();

Thanks again.