# Detecting Cancel on numericKeypad

**URL:** <https://forum.inductiveautomation.com/t/detecting-cancel-on-numerickeypad/23055>\
**Category:** Ignition\
**Created:** [March 5, 2019, 1:04am UTC](https://forum.inductiveautomation.com/t/detecting-cancel-on-numerickeypad/23055 "2019-03-05T01:04:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhastie](https://avatars.discourse-cdn.com/v4/letter/b/d6d6ee/32.png) [@bhastie](https://forum.inductiveautomation.com/u/bhastie)\
**Post date:** [March 5, 2019, 1:04am UTC](https://forum.inductiveautomation.com/t/detecting-cancel-on-numerickeypad/23055/1 "2019-03-05T01:04:32Z")

</div>

It seems you must pass a default numeric value to a numericKeypad. What I have been doing is passing the value in the table cell the use clicks on as the default or 0 if the cell is empty (None). The problem is, I need to detect if they hit cancel instead of entering a value. Am I missing something?
