Hi Team,

I need to use dropdown box in Traditional web and the requirement is, I need to have 2 dropdown boxes for 2 parameters, and on selecting a value from first dropdown, and the second parameter need to be auto populated with the corresponding value.

Eg: Parameter 1 (dropdown values : 1,2,3,4,5)  

Parameter 2 (dropdown values: A,B,C,D,E)

Here dropdown data for both Parameters is coming from external database.

if I select '1' from Parameter 1 then Parameter 2 should display as 'A' on the screen.

please suggest. Thanks in advance.

Regards,

Madhu


Hello Madhu,

For the first Dropdown, you may use the OnChange event and implement your own logic to assign the desired value to your variable that is binded to your second Dropdown.



This event will trigger everytime the selected value in the dropdown is changed.


Kind regards,

Rui Barradas

Hi Madhu,

You can add a server action on On change of the first dropdown and in that server action just refresh the source list which is you are using for the second dropdown(which has the filter on the first column value) and ajax refresh the second dropdown so that will update the Source list of the second dropdown

hope that will resolve your problem

Regards,

Krushna


Hi Madhu,

In addition to the above mentioned solutions, you can also refer this Forum Post for sample .omls

Hope this helps you!


Regards,

Benjith Sam