# Random Selection Tool

**URL:** <https://forum.bubble.io/t/random-selection-tool/428>\
**Category:** Need help\
**Created:** [October 21, 2015, 6:29pm UTC](https://forum.bubble.io/t/random-selection-tool/428 "2015-10-21T18:29:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahstyle](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rahstyle/32/202_2.png) [@Rahstyle](https://forum.bubble.io/u/Rahstyle)\
**Post date:** [October 21, 2015, 6:29pm UTC](https://forum.bubble.io/t/random-selection-tool/428/1 "2015-10-21T18:29:19Z")

</div>

Let’s say I’ve made a database with 4 columns of data, each under a specific heading description. I’m trying to make an app that will select a random entry from however many topics (1-4) the user has chosen and then display the result.

Can I do that with bubble? and What are my first few steps to make it happen? I already have a database of all available entries for the choices, that I made in another program.

Cheers 🙂

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [October 21, 2015, 9:55pm UTC](https://forum.bubble.io/t/random-selection-tool/428/2 "2015-10-21T21:55:25Z")

</div>

You can get a random entry in a list, so that should do it. See this [https://bubble.io/reference#Data.Messages.list.random\_element](https://bubble.io/reference#Data.Messages.list.random_element)

---

<div class="post-metadata">

**Author:** ![Rahstyle](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rahstyle/32/202_2.png) [@Rahstyle](https://forum.bubble.io/u/Rahstyle)\
**Post date:** [October 21, 2015, 11:08pm UTC](https://forum.bubble.io/t/random-selection-tool/428/3 "2015-10-21T23:08:00Z")

</div>

Cool, thanks! So I would do 4 instance of it? 1 for each of the 4 lists?

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [October 21, 2015, 11:08pm UTC](https://forum.bubble.io/t/random-selection-tool/428/4 "2015-10-21T23:08:49Z")

</div>

The way you should do it is with 4 different lists, yes.

---

<div class="post-metadata">

**Author:** ![Rahstyle](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/rahstyle/32/202_2.png) [@Rahstyle](https://forum.bubble.io/u/Rahstyle)\
**Post date:** [October 21, 2015, 11:31pm UTC](https://forum.bubble.io/t/random-selection-tool/428/5 "2015-10-21T23:31:01Z")

</div>

awesome thanks!
