# Show/Hide or Enable/Disable a Dashboard switch

**URL:** <https://discourse.nodered.org/t/show-hide-or-enable-disable-a-dashboard-switch/16012>\
**Category:** General\
**Created:** [27 September 2019 20:26 UTC](https://discourse.nodered.org/t/show-hide-or-enable-disable-a-dashboard-switch/16012 "2019-09-27T20:26:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)\
**Post date:** [27 September 2019 20:26 UTC](https://discourse.nodered.org/t/show-hide-or-enable-disable-a-dashboard-switch/16012/1 "2019-09-27T20:26:32Z")

</div>

Hey guys, I'm back with new questions 🙂

I managed to get a PIN pad on my dashboard. I have one switch that should not accidentialy pressed while doing finger stuff on my smartphone 😛

So my idea was to enter a PIN on my new PIN pad and if the PIN is correct the switch that could be activated will be shown on the dashboard. After a given period of time the button will be hide again.

Is that possible ?

---

<div class="post-metadata">

**Author:** ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)\
**Post date:** [29 September 2019 18:25 UTC](https://discourse.nodered.org/t/show-hide-or-enable-disable-a-dashboard-switch/16012/2 "2019-09-29T18:25:54Z")

</div>

No one can help?

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [29 September 2019 19:05 UTC](https://discourse.nodered.org/t/show-hide-or-enable-disable-a-dashboard-switch/16012/3 "2019-09-29T19:05:05Z")

</div>

Answered in the other thread.

> [@Show/Hide switch with msg.payload](https://discourse.nodered.org/t/show-hide-switch-with-msg-payload/16066):
>
> Hey guys, I think my original Post under General was in the wrong place. So here again slight_smile Is it possible to Show/Hide a switch with a msg.payload or anything else? I just want to enter a PIN before I'm able to turn on or off a switch for a few seconds after I entered the correct PIN. Thank you in advance.

---

<div class="post-metadata">

**Author:** ![nicedevil](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@nicedevil](https://discourse.nodered.org/u/nicedevil)\
**Post date:** [29 September 2019 19:06 UTC](https://discourse.nodered.org/t/show-hide-or-enable-disable-a-dashboard-switch/16012/4 "2019-09-29T19:06:15Z")

</div>

yeah saw that but don't know how to close this thread here 🙂 maybe a moderator/admin can do this?

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [29 September 2019 19:30 UTC](https://discourse.nodered.org/t/show-hide-or-enable-disable-a-dashboard-switch/16012/5 "2019-09-29T19:30:30Z")

</div>


