# Assistance required - Dashboard Dynamic button that can Appear/Disapear on true or false variable

**URL:** <https://discourse.nodered.org/t/assistance-required-dashboard-dynamic-button-that-can-appear-disapear-on-true-or-false-variable/67608>\
**Category:** Dashboard\
**Tags:** node-red-dashboard\
**Created:** [12 September 2022 11:43 UTC](https://discourse.nodered.org/t/assistance-required-dashboard-dynamic-button-that-can-appear-disapear-on-true-or-false-variable/67608 "2022-09-12T11:43:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [12 September 2022 12:00 UTC](https://discourse.nodered.org/t/assistance-required-dashboard-dynamic-button-that-can-appear-disapear-on-true-or-false-variable/67608/2 "2022-09-12T12:00:24Z")

</div>

You can put the button in its own ui group then use ui-control node to show/hide disable/enable the group, all is explained in the node info help text.  
Or

You can use ui-template node to create a button and use ng-if to show or hide on true/false. I recently posted an example in this thread. [Add text to ui template based on javascrip function - #6 by E1cid](https://discourse.nodered.org/t/add-text-to-ui-template-based-on-javascrip-function/67526/6)

---

_[View the full topic](https://discourse.nodered.org/t/assistance-required-dashboard-dynamic-button-that-can-appear-disapear-on-true-or-false-variable/67608)._
