# Hide text and display other text when button is clicked?

**URL:** <https://forum.adalo.com/t/hide-text-and-display-other-text-when-button-is-clicked/66634>\
**Category:** Get Help\
**Created:** [May 22, 2026, 11:55am UTC](https://forum.adalo.com/t/hide-text-and-display-other-text-when-button-is-clicked/66634 "2026-05-22T11:55:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [May 22, 2026, 9:39pm UTC](https://forum.adalo.com/t/hide-text-and-display-other-text-when-button-is-clicked/66634/2 "2026-05-22T21:39:01Z")

</div>

Hi @Challe77,

You need to store a value in an input or in a collection property (normally users collection).

Use the button with button states and then add visibility conditions for the two text components based on that value. Watch this video for example, recorded by a team member at Adalo. : [https://youtu.be/-2JCE1cPZdE](https://youtu.be/-2JCE1cPZdE) (you can change the input value using the change input value action and [button states](https://forum.adalo.com/t/button-states-and-hover-effects-have-arrived/48525))

You can also watch this similar video recorded by Victor. : [https://youtu.be/Vk3GFTytc7A](https://youtu.be/Vk3GFTytc7A)

Let me know if you still couldn’t figure it out!

Thank you and have a great day!

---

_[View the full topic](https://forum.adalo.com/t/hide-text-and-display-other-text-when-button-is-clicked/66634)._
