Randomizer from multiple dropdowns

I have 9 different dropdowns in a row that I want users to go through to select various items. However, I can see a situation where the user might just like to randomize all nine selections by pushing on auto-generate button.

How can I have Bubble do this randomly and go through all 9 steps?

I whould create a custom state for each of my dropdown as a number
Then i whould add a conditional for each that says if my number is 1 default value is first option in my dropdown, and repeat that for each option, eg:
when this input cusutom state is dropdown option 1 value = this default value first option
when this input cusutom state is dropdown option 2 value = this default value second option
and so on…

Then i whould add a button with a workflow that whould set the custom state to be a random number between 1 and the amount of options in that dropdown list of choices, and again repeat that for each dropdown options

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