Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

how to populate dropdown list and store item values with javascript


Level 3

data.dropdownSection = ["text1","text2","text3","text4","text5"];

This data is successfully populated to a dropdown list field with Javascript:




The user selects one item and save the form. Now I wish to export his selection with web service, while the values of the items instead of the text in this dropdown list is saved in the exported data.

If I'm using Livecycle, to list the texts, and then to "Specify Item Values" under binding tab of the dropdown list, I can easily get the Value instead of Text in exported data. But since the dropdown list comes from javascript, I don't know how to store the values into it.

Do you have any ideas? Thank you in advance.

0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now