# Random Picker Help

**URL:** <https://forum.adalo.com/t/random-picker-help/35080>\
**Category:** Get Help\
**Created:** [January 6, 2023, 9:57pm UTC](https://forum.adalo.com/t/random-picker-help/35080 "2023-01-06T21:57:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AshKefiWriting](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@AshKefiWriting](https://forum.adalo.com/u/AshKefiWriting)\
**Post date:** [January 6, 2023, 9:57pm UTC](https://forum.adalo.com/t/random-picker-help/35080/1 "2023-01-06T21:57:01Z")

</div>

Hello,

I am trying to create a button that a user can click and get a random number each time they tap the button. When I try to use the random picker with RAND(2,20) in the magic text area it doesn’t seem to want to work. I don’t want to store the numbers in a data base as I already have a fair number of databases in use for this app, I simple want to display a new number each time the button is tapped.

Any help would be appreciated even if it is just to let me know that this won’t work.

Thank You,  
A. Kefi

---

<div class="post-metadata">

**Author:** ![ishantanusrivastava](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/ishantanusrivastava/32/34947_2.png) [@ishantanusrivastava](https://forum.adalo.com/u/ishantanusrivastava)\
**Post date:** [January 7, 2023, 6:00am UTC](https://forum.adalo.com/t/random-picker-help/35080/2 "2023-01-07T06:00:41Z")

</div>

Hi @AshKefiWriting

You should create a number property in the user’s collection and then set up a random function on a button. After that, you need to update the logged-in user with that random number output and then you can show that particular number with a text component on your screen.

In this case you’re not creating a separate database, you are just creating a single property in existing database where you can save that output as a temporary number.

---

<div class="post-metadata">

**Author:** ![AshKefiWriting](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@AshKefiWriting](https://forum.adalo.com/u/AshKefiWriting)\
**Post date:** [January 7, 2023, 4:14pm UTC](https://forum.adalo.com/t/random-picker-help/35080/3 "2023-01-07T16:14:12Z")

</div>

Thank you, the help is much appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [January 17, 2023, 4:14pm UTC](https://forum.adalo.com/t/random-picker-help/35080/4 "2023-01-17T16:14:40Z")

</div>

Closed on January 17, 2023, 4:14pm UTC

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