I have a radio button and a dropdown where options of radio button: [Employee, Student]. How to change the values accordingly based on radio button selection. Onclick of Employee the drop down choices should be as[emp1,emp2,emp2] onclick of student the drop down choices should be as[stu1,stu2,stu2]
Asked
Active
Viewed 1,119 times
1 Answers
3
Set the item of the dropdown to:
Switch(radioButton.Selected.Value,"Employee",["emp1","emp2"],"Student",["stu1","stu2"]...)

marianr99
- 146
- 5
-
Have one more question, if we want to dynamically popuplate from API data in drop down , what approch i have to follow. – user1877936 Jul 21 '21 at 13:25