# Form Cancel button - why no msg?

**URL:** <https://discourse.nodered.org/t/form-cancel-button-why-no-msg/74423>\
**Category:** Dashboard\
**Created:** [30 January 2023 13:52 UTC](https://discourse.nodered.org/t/form-cancel-button-why-no-msg/74423 "2023-01-30T13:52:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Post date:** [30 January 2023 13:52 UTC](https://discourse.nodered.org/t/form-cancel-button-why-no-msg/74423/1 "2023-01-30T13:52:13Z")

</div>

Hi There!

Why doesn't the cancel button a form trigger a msg just as the submit does? I want to use the form to accept or decline something with both actions should trigger follow-on actions. ATM, I need to use a separate decline button since the cancel button simply clears the form and nothing else. The disadvantage is that this separate button can't access the values in the form (e.g. a reason for declining or accepting something).

Sorry for the repetition because I'm sure this has been asked many times, just I didn't find an answer...

Thank you for any tips!

---

<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:** [30 January 2023 14:00 UTC](https://discourse.nodered.org/t/form-cancel-button-why-no-msg/74423/2 "2023-01-30T14:00:07Z")

</div>

Can not answer your question as to why.  
But, have you tried using the notification ui node. which sends ok, cancel and input.

---

<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:** [1 March 2023 14:00 UTC](https://discourse.nodered.org/t/form-cancel-button-why-no-msg/74423/3 "2023-03-01T14:00:53Z")

</div>

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