130
Views
3
Comments
combo box in traditional web

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


2020-05-07 18-53-00
Rui Barradas
 
MVP

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

2023-04-07 07-55-02
Krushna Mantri

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


2021-03-18 21-03-15
Benjith Sam
 
MVP

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.