# Ui button event

**URL:** <https://discourse.nodered.org/t/ui-button-event/74548>\
**Category:** Dashboard\
**Created:** [1 February 2023 11:47 UTC](https://discourse.nodered.org/t/ui-button-event/74548 "2023-02-01T11:47:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![superlogan72](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superlogan72/32/74680_2.png) [@superlogan72](https://discourse.nodered.org/u/superlogan72)\
**Post date:** [1 February 2023 11:47 UTC](https://discourse.nodered.org/t/ui-button-event/74548/1 "2023-02-01T11:47:23Z")

</div>

Hello there is a way to get the release event of ui button or is possible to get only the click  
Thanks  
Luca

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [1 February 2023 20:20 UTC](https://discourse.nodered.org/t/ui-button-event/74548/2 "2023-02-01T20:20:13Z")

</div>

Dashboard is designed as a simple to use, no-code tool. So the simple answer is no.

You can however, create your own buttons using ui\_template.

But if you want true, fine-grained control over your UI, you might be better off with something like uibuilder. The uibuilder client has a simple-to-use function designed to be used to easily send a msg back to Node-RED from an event handler:

```auto
<button onmouseup="uibuilder.eventSend(event)">Press Me!</button>

```

In the next release of uibuilder (v6.1), if you put the button inside `<form>...</form>` tags, you will even get back all of the form inputs without any further coding.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 March 2023 20:20 UTC](https://discourse.nodered.org/t/ui-button-event/74548/3 "2023-03-03T20:20:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
