# Display of variable text

**URL:** <https://discourse.nodered.org/t/display-of-variable-text/17153>\
**Category:** Dashboard\
**Created:** [25 October 2019 17:53 UTC](https://discourse.nodered.org/t/display-of-variable-text/17153 "2019-10-25T17:53:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![easyE4](https://avatars.discourse-cdn.com/v4/letter/e/a5b964/32.png) [@easyE4](https://discourse.nodered.org/u/easyE4)\
**Post date:** [25 October 2019 17:53 UTC](https://discourse.nodered.org/t/display-of-variable-text/17153/1 "2019-10-25T17:53:06Z")

</div>

Hello everybody,  
I would like to make the ui-text node variable. If my variable is 0, I want to show "Off" in the dashboard, "1" should show "On". Can someone help me?

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [25 October 2019 17:59 UTC](https://discourse.nodered.org/t/display-of-variable-text/17153/2 "2019-10-25T17:59:59Z")

</div>

The `change` node will be the best choice. Study the info page, try to use and ask help if things dont go in your way

---

<div class="post-metadata">

**Author:** ![easyE4](https://avatars.discourse-cdn.com/v4/letter/e/a5b964/32.png) [@easyE4](https://discourse.nodered.org/u/easyE4)\
**Post date:** [25 October 2019 18:05 UTC](https://discourse.nodered.org/t/display-of-variable-text/17153/3 "2019-10-25T18:05:39Z")

</div>

Thank you hotNipi. It works.
