# Need help for a "random" button(like a dice button)

**URL:** https://community.glideapps.com/t/need-help-for-a-random-button-like-a-dice-button/81675
**Category:** Ask for Help
**Created:** [May 2, 2025, 7:29pm UTC](https://community.glideapps.com/t/need-help-for-a-random-button-like-a-dice-button/81675 "2025-05-02T19:29:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Premthip\_Yaowapatsir](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/premthip_yaowapatsir/32/87734_2.png) [@Premthip\_Yaowapatsir](https://community.glideapps.com/u/Premthip_Yaowapatsir)
#### Post date: [May 2, 2025, 7:29pm UTC](https://community.glideapps.com/t/need-help-for-a-random-button-like-a-dice-button/81675/1 "2025-05-02T19:29:16Z")

</div>

Hi everyone,  
I am building the app to get a random dish and display the menu info(from the menu list) with a single button(“Random Dish” button). Please see the pic below. However, I asked Chat GPT and it suggested setting the action of the button called “Show Random Item” which I could not find. Does Glide still have this option? If not, could you please suggest an alternative workaround on this? I am very on this platform.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/2/922dd82c26434b385ea4e99a7b2068a1ef29b36d.png)

Thank you in advance. 🙂

---

<div class="post-metadata">

### Author: ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)
#### Post date: [May 2, 2025, 8:00pm UTC](https://community.glideapps.com/t/need-help-for-a-random-button-like-a-dice-button/81675/2 "2025-05-02T20:00:51Z")

</div>

Take ChatGPT with a grain of salt. AI can make things up sometimes. There was never such a thing as a “Show Random Item”.

I would look into creating a collection sorted in random order, and then add a button with a Shuffle Order action.

> **[Shuffle Order | Glide Docs](https://www.glideapps.com/docs/automation/actions/shuffle-order)**
>
> Shuffle randomly ordered lists.

---

<div class="post-metadata">

### Author: ![Premthip\_Yaowapatsir](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/premthip_yaowapatsir/32/87734_2.png) [@Premthip\_Yaowapatsir](https://community.glideapps.com/u/Premthip_Yaowapatsir)
#### Post date: [May 3, 2025, 4:36pm UTC](https://community.glideapps.com/t/need-help-for-a-random-button-like-a-dice-button/81675/3 "2025-05-03T16:36:16Z")

</div>

Thank you so much, Jeff. I agree with you now, as I see now that it doesn’t fully know the tool and can suggest something that doesn’t exist. I will look at it and follow its instructions 😊

---

<div class="post-metadata">

### Author: ![fk1214](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/fk1214/32/71058_2.png) [@fk1214](https://community.glideapps.com/u/fk1214)
#### Post date: [May 3, 2025, 5:08pm UTC](https://community.glideapps.com/t/need-help-for-a-random-button-like-a-dice-button/81675/4 "2025-05-03T17:08:57Z")

</div>

You can do it like this, basically all you need is a button with the shuffle order action, and a collection of dishes (set sort to Randomly and limit to 1 item) 😄

> [@Scroll videos/images like tiktok/reels](https://community.glideapps.com/t/scroll-videos-images-like-tiktok-reels/80542/3):
>
> That would be soo cool, in the meantime I thought of a concept you can try that gives a similar experience. You can make a custom collection with all your videos/posts. Then, set the sorting to Randomly (Won’t work if you choose another sorting but you can add whatever filters you like to make the experience better), and tick the “Limit number of items” box and limit them to 1 so it only shows one post at a time. [Screenshot 2025-03-09 at 11.08.52 am] F…
