Randomize on top of filters

Hi all,

I’m trying to randomly select an item and display its details from a collection in Adalo, but I’m running into a problem:

  • I have filters applied (by type of the item and another category).

  • The random ID generated (using function) often doesn’t match any item left after filtering, so the screen shows blank.

  • I also want a way to prevent already shown or skipped items from being selected again.

Any suggestions or workarounds for this issue?

@Keystone might be a good idea to have a look at the Random Picker component.

Also there has been multiple threads in the forum about randomisation, you can find some useful advises there.

Best,
Victor.

I tried it by applying the filters inside the random picker component and output true for the picked item which then the list will filter the true/false, so the picked item will be displayed.

But now i want to regenerate another random item from the collection which also wont include the picked item(s) from before

Hi @Keystone,

What’s your current setup with some screenshots or with a screen recording so we can see what’s going on?

Also there’s few videos in YouTube and few forum posts which discussed about implementing randomization using the random picker component like Victor mentioned above and here’s a great video made by Victor which uses the random picker component! : https://youtu.be/YolAjYSyqeU

Let us know how it goes!

Thank you and have a great day!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.