I am currently building a repeating group that displays data from my database and wish for users to be able to apply/select multiple filters that can layer on top of each other and show the results in the group (think Amazon and their price/category/etc. filters)
My data set looks like this: Name, Price, Type, Sub-type, and Year. I have a dropdown select for the type and sub-type, but also want users to be able to specify a range for price/year. For example, a user could enter $20 in the minimum price input box and $40 in the maximum price input box and then select “Fashion” from the Type dropdown menu - this would show them all database items that have a price between 20 and 30 and have “Fashion” in the type field.
I have built a few rudimentary versions of this but the number of workflows just keep growing and growing as I have to cover different scenarios for each filter (e.g. what workflow do I need if the user only sets a max price and a type, leaving sub-type and min price alone. Or what if they have a minimum price but don’t select a type). I am currently opting to use the “when input is changed…” trigger to do some of these actions, but the more filters I add, it just keeps getting more and more complex.
What would be the best way to go about this?
Thank you!