cancel
Showing results for 
Search instead for 
Did you mean: 

Default value in a dropdown with constants

Former Member
0 Kudos

I have a dropdown with constants, which contains the countries. By default the dropdown has no value displayed. I would like one of the values in the dropdown to be displayed by default. How would i do that?

Any help will be appreciated.

Thanks

Nahman

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

just make the index of the dropdown to 0.

wdContext.node<nodename>.setLeadSelection(0);

in the wdDoInit();

this will show the first element in the node as default.

Regards,

Gopi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I think you are using SVS for drop down.

Initialize the context attribute with default value you wanted.

Regards,

Nagaraju Donikena.