Filtering a list from buttons with custom state

Soo, im new to bubble and what a tool! Itโ€™s great, but also tricky for a noob like me i guess :slight_smile:

I created 8 buttons that when clicked stores a text in repeating group nr. 1 in a custom state list.

In my repeating group nr.2 i want to display the criteria of the stored content in the custom state list.

Example: Food button is clicked โ†’ list shows all with food โ†’ Drink button and food button is clicked โ†’ list shows all lists with food and drink โ†’ Drink, Food and Candy button is clicked โ†’ list shows all with drink, good and candy, etc. Also viseversa

What im doing: is that data source is set to search for food:filtered and constraint is Food is in repeating group nr. 1โ€™s custom state list. (same goes for drink and candy)

when i click button: food, nothing happens.

when i click button: food and drink, nothing happens.

when i click button: food, drink and candy โ†’ results appear in list.

But i want to have Individual results and combined results.

Anyone got an idea of what im doing wrong? - been on the forums for 2 days now and i canโ€™t figure it out :frowning:

If you are having issues with an app, the best way to get help is to post a link to a public app, so people can see what is happening.

I just want my repeating group to show the criteria that is in the custom state.

Button Food is clicked -> โ€œFoodโ€ is stored in custom state -> Repeating group shows what matches food in database.

I tried https://buildingonbubble.com/block/a-list-with-multiple-selections-1472220949220x795693731957964800 But no luck.

I read some where that :plusitem might work, i just canโ€™t seem to make it work.

This topic was automatically closed after 70 days. New replies are no longer allowed.