# Make invisible a button

**URL:** <https://discourse.nodered.org/t/make-invisible-a-button/4561>\
**Category:** Dashboard\
**Created:** [4 November 2018 18:53 UTC](https://discourse.nodered.org/t/make-invisible-a-button/4561 "2018-11-04T18:53:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpaolojo](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@cpaolojo](https://discourse.nodered.org/u/cpaolojo)\
**Post date:** [4 November 2018 18:53 UTC](https://discourse.nodered.org/t/make-invisible-a-button/4561/1 "2018-11-04T18:53:57Z")

</div>

Hi all!  
I've create a button using the template node. The code to do this is the following:

```
<text x="400" y="125" style="text-anchor:middle" font-weight="bold" font-size="80" font-family="Arial">{{(msg.payload||0)? " OPEN " : "CLOSED"}} </text>
</g>

```

In certain condition, I have the need to make invisible the entire button. How can I do?  
Thanks in advance  
Paolo

---

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [4 November 2018 21:26 UTC](https://discourse.nodered.org/t/make-invisible-a-button/4561/2 "2018-11-04T21:26:00Z")

</div>

Isn't this similar to your previous post - [Button size using template node](https://discourse.nodered.org/t/button-size-using-template-node/4008)
