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 automatically display the first item in a drop-down list

Avatar

Not applicable
Hi, I have a drop down list populate from a script and I want user see the first item as pdf is open.



Thank you for your help
2 Replies

Avatar

Level 5
Hi,



I use this script :



list.rawValue = list.getDisplayItem(0);



where list is your drop down list populate.