it would be possible to create a drop-down list to take fields from an external database or excel file ?
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.
No, no , then I give up. I thought I could do it without connecting to an external database .
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
I have to insert some 150 drop-down list items and I would not write them one by one .
I'm sorry, I'm not quite sure of what you want to do here.
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 ?
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 <firstname.lastname@example.org>:
create a drop-down list created by Magus069<https://forums.adobe.com/people/Magus069> in LiveCycle Designer - Viewthe full discussion <https://forums.adobe.com/message/8635803#8635803>
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>
here is a thread that explains how to prepare PDF for data drop down lists
Hope this will help you.