by dlazarescu » Wed Jul 05, 2017 4:25 pm
Hi Al,
You can do this in two ways:
- event driven: once you change the first dropdown, you call a function (dropdown 1/properties/events/onAction) that will update the valueList for the second dropdown
- through a relation: you can create a relation between a global variable and the table that is used to populate the second dropdown. The global variable should be assigned to the dataProvider from the first dropdown. Then you create a valueList where you use the Related Values option where you set the relation that you just created in the first step. And finally you assign the valueList to the second dropdown.
I hope this will work for you. I would suggest to try the second option as it is elegant and it will open new doors for you on what can be done on the Servoy platform.
Success,
Dan