I have a data type called Quizzes.
I have a group custom state called quiz_list of the data type Quizzes and it’s a list.
On the press of a button, I’m calling a workflow that has an action to add quizzes to quiz_list. I want to add these randomly, however, there’s also filters I’m applying which the user can select from Multidropdowns. I have 6 dropdowns.
Now the problems:
-
I don’t have the option to :add list. I can only use :plus item. I’m unsure why. But I’ve dealt with it, because I only do this in groups of 10. So I create 10 actions in the workflow.
-
If I have duplicate constraints in these 10 actions, the action will be ignored. So I have to do workarounds to get them all to work and end up with 10 questions in my quiz_list.
-
If my multidropdowns are blank, the :plus item often won’t work. This happens even though I have the option “ignore blank constraints” selected.
Here’s a screenshot with two of the constraints in here. I have 6 multidropdowns that vary in the data type.
Share a screen shot of all operators available after the current value because I think you should have option of add list and not just plus item
There is no ‘Plus List’ list operator in Bubble - but ‘Merged With’ is the operator you need (which amounts to the same thing).
also, in Bubble, you can’t add something to a list if it’s already in the list.
1 Like
I’ll give Merged With a try, thanks. My list is always empty when the user starts to add a quiz question to quiz_list.
So, I have an empty quiz_list, and I want to add 10 quizzes to it based on constraints. I’m unsure how to use Merged with this way.
This does work to add 10 questions to quiz_list. Now I’m working to figure out how to make it pick 10 random questions instead of the first 10 in the list. When I choose :random after this, it wants more from me..
So thinking about randomizing the app data list of quizzes before this action…
I tried this, but it timed out. I think it’s because I have 180,000 quizzes to pick from.
I’m unsure how to get a random 10 from the criteria.
Do the sort on the search itself.
1 Like
There it is! Thanks a ton. 