I have some trouble with filtering my repeating group.
In short, I am building a marketplace app, and on the search page, you can filter items by, for example, gender. I currently have working filters, so if I choose “male” from the dropdown menu gender, I will see only male items. However, there’s also an option “unisex”. If someone chooses unisex, I want them to see items that are labeled unisex, male, and female. Currently, if you choose, unisex, you only see items labeled “unisex”. Likewise, if someone chooses “male” from the dropdown menu, I want them to see items that are labeled, male (which is already happening) AND unisex.
Hopefully, my explanation makes sense!
The screenshot shows how I am currently filtering my repeating group.
Thanks for your help. Do you have any clue what that would look like? I’m experimenting with the “advanced” option but not sure how to use it. I tried “Dropdown gender value contains…” or “This listing’s gender contains dropdown gender’s value…” but that’s not it, I think?
Set the dB thing to a list. Find a plug-in called multi-select and use its multi-drop down element. This way the expression will work in advanced using “contains list”
Thanks again for your reply. I have changed “gender” to a list of texts in the database and used the multi-dropdown menu. I’ve tried 2 expressions (you can see them in the screenshot) but I suppose they are still not right. Do you know what I’m doing wrong where?