Dropdown list cannot be opened


i created dynamic pdf form, dropdown list populated using additem command, list doesn't open. although items list (i know because use app.alert command), cannot seen. designer's bug or missing something????
however, noteworthy mention when clicking somewhere else outside list , retrying open it, surprisingly opens!!!????this means list populated unknown reasons items of list cannot seen during first attempt. code executed during click event ( or during enter event, practically same)

var b = ["a","b","c"];
for(var i=0; < b.length; i++) {
this.additem(b[i])
}

thank in advance help!

you need correct javascript syntax below , should work.

var b = new array("a","b","c");
for(var i=0; < b.length; i++)
{
this.additem(b[i]);
}


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments