# Button Click Clear UI

**URL:** <https://www.epiusers.help/t/button-click-clear-ui/96202>\
**Category:** Kinetic ERP\
**Created:** [November 7, 2022, 7:33pm UTC](https://www.epiusers.help/t/button-click-clear-ui/96202 "2022-11-07T19:33:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkane](https://www.epiusers.help/user_avatar/www.epiusers.help/jkane/32/57624_2.png) [@jkane](https://www.epiusers.help/u/jkane)\
**Post date:** [November 7, 2022, 7:33pm UTC](https://www.epiusers.help/t/button-click-clear-ui/96202/1 "2022-11-07T19:33:47Z")

</div>

Ok, diving in!

So, I just traced what happens when a user clears a screen from the clear button in the overflow. My question is, do I need to recreate it step by step? With all of those actions and events? Below is a screenshot of part of the trace to convey what I am asking.

![image](https://www.epiusers.help/uploads/default/original/3X/7/2/7242b6453b85a726298459d26c3a81fd9a18bdd1.png)

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [November 8, 2022, 9:23pm UTC](https://www.epiusers.help/t/button-click-clear-ui/96202/2 "2022-11-08T21:23:43Z")

</div>

You can just use the **event-next** widget to call **OnClick\_toolClearUI.**

---

<div class="post-metadata">

**Author:** ![Doug.C](https://www.epiusers.help/user_avatar/www.epiusers.help/doug.c/32/26714_2.png) [@Doug.C](https://www.epiusers.help/u/Doug.C)\
**Post date:** [November 8, 2022, 9:56pm UTC](https://www.epiusers.help/t/button-click-clear-ui/96202/3 "2022-11-08T21:56:10Z")

</div>

![TooEasy](https://www.epiusers.help/uploads/default/original/3X/e/9/e95e8354ec3ab5da1fec9f01aed84e5924bf14dc.gif)

---

<div class="post-metadata">

**Author:** ![jkane](https://www.epiusers.help/user_avatar/www.epiusers.help/jkane/32/57624_2.png) [@jkane](https://www.epiusers.help/u/jkane)\
**Post date:** [November 9, 2022, 12:54pm UTC](https://www.epiusers.help/t/button-click-clear-ui/96202/4 "2022-11-09T12:54:45Z")

</div>

> [@hmwillett](#):
>
> You can just use the **event-next** widget to call **OnClick\_toolClearUI.**

Sorry @hmwillett , you are going to have to spell it out for me. I tried adding the event-next widget and in the parameters entered

```auto
{ "event": "OnClick_toolClearUI" }

```

and nothing happened when I clicked my button.

[![](https://media.giphy.com/media/xUPGcmvgjMIEhy6jZu/giphy.gif) ](https://media.giphy.com/media/xUPGcmvgjMIEhy6jZu/giphy.gif)

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [November 9, 2022, 2:36pm UTC](https://www.epiusers.help/t/button-click-clear-ui/96202/5 "2022-11-09T14:36:33Z")

</div>

![image](https://www.epiusers.help/uploads/default/original/3X/8/b/8b49cd2e7f989ed29f50d5ecec347584bb2b14d4.png)

---

<div class="post-metadata">

**Author:** ![jkane](https://www.epiusers.help/user_avatar/www.epiusers.help/jkane/32/57624_2.png) [@jkane](https://www.epiusers.help/u/jkane)\
**Post date:** [November 10, 2022, 4:13pm UTC](https://www.epiusers.help/t/button-click-clear-ui/96202/6 "2022-11-10T16:13:21Z")

</div>

Sorry, still not working for me. Should my Target be the button I created or the toolClearUI?

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [November 10, 2022, 4:26pm UTC](https://www.epiusers.help/t/button-click-clear-ui/96202/7 "2022-11-10T16:26:06Z")

</div>

Your trigger should be the button click and then set up the widget like I have in my screenshot.

---

<div class="post-metadata">

**Author:** ![jkane](https://www.epiusers.help/user_avatar/www.epiusers.help/jkane/32/57624_2.png) [@jkane](https://www.epiusers.help/u/jkane)\
**Post date:** [November 11, 2022, 7:28pm UTC](https://www.epiusers.help/t/button-click-clear-ui/96202/8 "2022-11-11T19:28:37Z")

</div>

Thank you @hmwillett

Turns out something else was stopping it from working as I deleted all layers and just did what you said and it worked!
