# showNumericKeypad

**URL:** <https://forum.inductiveautomation.com/t/shownumerickeypad/6707>\
**Category:** Ignition\
**Created:** [June 13, 2013, 6:05pm UTC](https://forum.inductiveautomation.com/t/shownumerickeypad/6707 "2013-06-13T18:05:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinmarchand](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@kevinmarchand](https://forum.inductiveautomation.com/u/kevinmarchand)\
**Post date:** [June 13, 2013, 6:05pm UTC](https://forum.inductiveautomation.com/t/shownumerickeypad/6707/1 "2013-06-13T18:05:08Z")

</div>

Hi,

```
How can I track if the cancel button was click?

```

thanks

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [July 15, 2013, 11:36pm UTC](https://forum.inductiveautomation.com/t/shownumerickeypad/6707/2 "2013-07-15T23:36:21Z")

</div>

There is no way to do this. You can fake it by comparing the initialValue with the returned value. If cancel is pressed then the initialValue is returned. This isn’t a very good way to do this because if someone uses the keypad by opening it and pressing ok without changing the value then you would get the same return as if you hit cancel.
