Linked select lists - set default selected value in second list

Leslie Comstock shared this question 6 years ago
Answered

I have two select lists on a page. The 2nd select list's options get loaded dynamically by using doing a SELECT/FILTER on a Data Master in an On Change interaction on the 1st list. Is there a way to set a default selected value on that 2nd select list? Currently, when an option is selected from the 1st list none of the options available for the second list appear in its little window until its down arrow is clicked. I'd like for the 1st option of its list to be displayed in its window.

Comments (5)

photo
1

Add a 'select value' action on the onchange event that selects the first element of the second select list.

photo
1

Yeah, I kind of suspected that's what I need to do.


But the problem is, I don't know how to select the first element from that second select list.

photo
1

there is an special action to do so, it's the option 'select value' in the interactions dialog.

photo
1

Trying to do this but the change happens when the something gets selected in the 2nd list, not when the selection in the first list happens. What am I doing wrong?

photo
1

Could you send your prototype to jim.support at justinmind.com? We'll take a look at it for you.