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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Default Dropdownlist Selection

rajan_chidambar
Level 1
Level 1

This is in Adaptive Forms. I am populating a dropdownlist with values. I would like a default value to appear as selected. How can I achieve this? TIA

1 Accepted Solution
DarrenBiz
Correct answer by
Level 7
Level 7

If Its a static list of items, you can set the default value on the component itself by entering a value into the Default Value field

1523896_pastedImage_2.png

e.g. to set "Item 2" as the default:

1524170_pastedImage_3.png

or using the Rules Editor:

1524171_pastedImage_5.png

If its a dynamic list, you can set the value property [2] once the list is initialized [3]

1524172_pastedImage_6.png

[2] Adaptive Forms Class: GuideDropDownList

[3] Adobe Experience Manager Help | Adaptive Form Expressions

View solution in original post

1 Reply
DarrenBiz
Correct answer by
Level 7
Level 7

If Its a static list of items, you can set the default value on the component itself by entering a value into the Default Value field

1523896_pastedImage_2.png

e.g. to set "Item 2" as the default:

1524170_pastedImage_3.png

or using the Rules Editor:

1524171_pastedImage_5.png

If its a dynamic list, you can set the value property [2] once the list is initialized [3]

1524172_pastedImage_6.png

[2] Adaptive Forms Class: GuideDropDownList

[3] Adobe Experience Manager Help | Adaptive Form Expressions

View solution in original post