Dynamic Drop Downs

I have 2 dynamic drop downs, I need them to filter data based on the drop down in front of it. Any suggestions on how to do this?

This example should be helpful: https://www.wix.com/code/home/example/Cascading-Form.

This is what we want to do but we are taking data from a dataset. not sure how to set the filter in the second drop down based on the first

Use the onChange event of the first drop down to call the setFilter() function of the dataset.

It would be great if I could see an example. we have a single data source.

Hi David,
Here you have an example of how to use setFilter function

Good luck!