# Numeric Keypad OK / Enter

**URL:** <https://forum.inductiveautomation.com/t/numeric-keypad-ok-enter/9599>\
**Category:** Ignition\
**Created:** [January 23, 2015, 11:18pm UTC](https://forum.inductiveautomation.com/t/numeric-keypad-ok-enter/9599 "2015-01-23T23:18:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhettmotley](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@rhettmotley](https://forum.inductiveautomation.com/u/rhettmotley)\
**Post date:** [January 23, 2015, 11:18pm UTC](https://forum.inductiveautomation.com/t/numeric-keypad-ok-enter/9599/1 "2015-01-23T23:18:59Z")

</div>

I would like to set a bit in the PLC when the operator enters a value in a numeric entry with the pop up keypad and commits by pressing OK. I have tried a simple code  
value = 1  
if event.keyCode == event.VK\_ENTER:  
system.tag.writeToTag(‘Soy Blending/B80:1\_15’, value)

but it seems OK on the keypad is different than the enter key. This works when i use the keyboard enter key.  
Am I over thinking this??

Thanks
