Good evening masters.
Could someone possibly explain where is my problem.
I have RG with subcategories and checkbox icon.
There is state that makes lists of selected items and when button save is clicked the list goes to database. So far i got things working
In DB i have type - Selected with tables User & Selected ( So i save the selections for current user)
Question 1.
How do I connect this Selected type to User type
Question 2."
How to get from Selected or User if the subcategorie in RG is already in current users Selected, to display the icon Checked and when clicked again remove it from list
Editor: Haltapp | Bubble Editor

Thanks in advance
In DB i have type - Selected with tables User & Selected ( So i save the selections for current user)
Question 1.
How do I connect this Selected type to User type
Question 2."
How to get from Selected or User if the subcategorie in RG is already in current users Selected, to display the icon Checked and when clicked again remove it from list
i dont understand this at all. thats go one step at a time.
you’ve accomplished creating a list state based on the selected checkboxes?
Somehow i managed to get icons change depending on if user = current user and selected = rg items.
Now just need to make them be deleted when clicked again
This used to confuse me as well but is very easy. Basically you need two separate workflows, each targeting the same checkbox, one to switch the check on and one to switch it off.
Go to the workflow for your checkbox and on the workflow box (see image) add a condition which says “Only when foot courier service is not empty” (or whatever the check box relates to).
Then, we are going to have another workflow which reverses it. So, copy and past that entire workflow and now make the box condition “Only when foot courier service is empty” and in that workflow make the check box empty by removing the data from the database.
Then you can make your checkbox show empty by default and in the condition just say “When foot courier service is YES” change the icon.

Thank you Darren! Ye, it is tricky. 
1 Like