# How do I show text when I click on a button?

**URL:** <https://community.glideapps.com/t/how-do-i-show-text-when-i-click-on-a-button/83261>\
**Category:** Ask for Help\
**Created:** [July 17, 2025, 4:37pm UTC](https://community.glideapps.com/t/how-do-i-show-text-when-i-click-on-a-button/83261 "2025-07-17T16:37:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thaysa](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thaysa/32/90432_2.png) [@thaysa](https://community.glideapps.com/u/thaysa)\
**Post date:** [July 17, 2025, 4:37pm UTC](https://community.glideapps.com/t/how-do-i-show-text-when-i-click-on-a-button/83261/1 "2025-07-17T16:37:08Z")

</div>

Hello, everyone!

I need your help!

I would like to create a screen in which there is only one button and when I click on that button, several different texts (from a Glide table) are shown at each click in random order below the button.

How do I do that? Can you help me with the step by step, please?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [July 17, 2025, 4:57pm UTC](https://community.glideapps.com/t/how-do-i-show-text-when-i-click-on-a-button/83261/2 "2025-07-17T16:57:53Z")

</div>

You can use the shuffle action on the button to show random data every time the button is triggered!

---

<div class="post-metadata">

**Author:** ![thaysa](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thaysa/32/90432_2.png) [@thaysa](https://community.glideapps.com/u/thaysa)\
**Post date:** [July 17, 2025, 5:08pm UTC](https://community.glideapps.com/t/how-do-i-show-text-when-i-click-on-a-button/83261/3 "2025-07-17T17:08:29Z")

</div>

I’ve even selected this shuffle option but I can’t connect this function to the table with the texts so that they appear when I click. Do you know how to do that?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 18, 2025, 12:02am UTC](https://community.glideapps.com/t/how-do-i-show-text-when-i-click-on-a-button/83261/4 "2025-07-18T00:02:19Z")

</div>

Here’s a simplified approach. You can adapt it to your use case.

 ![CleanShot 2025-07-18 at 07.00.00](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/f/7fd7216eb32f99bddffe5eab716977c0ebf1c156.png)

 ![CleanShot 2025-07-18 at 07.01.08](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/1/f152f40901d89acb5a5002a93e97ef250b115fbc.png)

 ![CleanShot 2025-07-18 at 07.00.40](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/a/c/acc16a291d35f88ef0300000449dbb940b64efa5.png)

Here it is in action.

![CleanShot 2025-07-18 at 07.01.51](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/a/8a469d19909241f5a4a95465ebe770e85653d481.gif)
