I want to display the selected value for one of my dropdown menus based on the choice made by the user in the first dropdown menu.
To implement this functionality using Enums and Dropdowns, follow these steps:
- Create two Enumerations: Enum1 for countries and Enum2 for states.
- Populate Enum1 (Country) with keys and corresponding values.
-
Populate Enum2 (States) with keys and corresponding values.
-
On the first dropdown, assign an OnClick event and configure it to trigger the “Reload Elements” task. Select your second dropdown as the target for reloading.
-
Configure the parent element ID on your second dropdown.
These steps will enable you to dynamically showcase the appropriate values in the second dropdown based on the selection made in the first dropdown.
1 Like