I have 5 dropdowns. Things like city, type, region, manager, willing to relocate... but basically 5 options, based on choice columns in SharePoint.
I want to filter a gallery based on any combinations of those 5 things.
So everything from all 5 of those have items selected, to no dropdowns have items selected to 2 of the dropdowns have items selected, etc.
Is the best way to do this with nested if's? That seems like a lot of nested if's.... switch doesn't seem to work with dropdown choices from SharePoint. Or maybe I'm wrong.
Any other way to do this so I don't have to do a 30+ layered nested if statement?
Thanks,
Terry