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?
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Hi David,
Here you have an example of how to use setFilter function
https://www.wix.com/code/reference/wix-dataset.html#setFilter
Good luck!
It would be great if I could see an example. we have a single data source.
Use the onChange event of the first drop down to call the setFilter() function of the dataset.
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
This example should be helpful: https://www.wix.com/code/home/example/Cascading-Form.