Accepted Solutions (1)

Accepted Solutions (1)

Magus069

MVP

29-03-2016

Make sure your form is a dynamic XML form, if you can't find why you cant connect to data source share your form.. there are surely something you are missing.

Answers (7)

Answers (7)

Magus069

MVP

30-03-2016

Okay, but have you connected to the database yet? By connecting to the database you have collected all data without inserting them..

if you want to insert only some of the list items collected from the database, you can use the method setItems() with the drop down list once you have all the data you want to insert,

depends how you collect your data, you can do a loop to add each item one by one with a specific value for each, or setItems sets the value as the string's value

using setItems, you only need to concatenate each values with a comma(","), therefore you can use an array with all the items you want to add and use setItems like the following :

Make sure none of your values contains commas tho, or else it will split one value into 2

skate2k5

30-03-2016

Ok tks.

If I wanted to write a long list of around 15 lines as drop-down list?

I have to write all or can in some way make a copy and paste ?

Thanks

skate2k5

29-03-2016

that option is there . But when I insert a drop-down list can not select

the data source .

2016-03-29 15:58 GMT+02:00 Magus069 <forums_noreply@adobe.com>:

create a drop-down list created by Magus069

<https://forums.adobe.com/people/Magus069> in LiveCycle Designer - View

the full discussion <https://forums.adobe.com/message/8635803#8635803>