# 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:** 1\
**Showing post:** 3

<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.

---

_[View the full topic](https://discourse.nodered.org/t/show-hide-or-enable-disable-a-dashboard-switch/16012)._
