# Numeric On-Screen Keyboard

**URL:** <https://forum.inductiveautomation.com/t/numeric-on-screen-keyboard/23959>\
**Category:** Ignition\
**Created:** [April 9, 2019, 3:15pm UTC](https://forum.inductiveautomation.com/t/numeric-on-screen-keyboard/23959 "2019-04-09T15:15:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mreynolds](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mreynolds/32/7515_2.png) [@mreynolds](https://forum.inductiveautomation.com/u/mreynolds)\
**Post date:** [April 9, 2019, 3:15pm UTC](https://forum.inductiveautomation.com/t/numeric-on-screen-keyboard/23959/1 "2019-04-09T15:15:57Z")

</div>

I have a few components which are tagged to string type tags but which should only contain numeric data. Because they are string type tags, Ignition selects the “large” full-text keyboard for them on clients. When clients go to edit data in numeric-only tags it selects the smaller number pad type keyboard. Is there some way to select which on-screen keyboard type is used for a particular element when it’s selected to edit on a client?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 9, 2019, 3:32pm UTC](https://forum.inductiveautomation.com/t/numeric-on-screen-keyboard/23959/2 "2019-04-09T15:32:24Z")

</div>

Just use a numeric text field rather than a generic text field - you should still be able to bind it to the tag, although bidirectional mode may not work quite right.

---

<div class="post-metadata">

**Author:** ![c.bertulli](https://avatars.discourse-cdn.com/v4/letter/c/f19dbf/32.png) [@c.bertulli](https://forum.inductiveautomation.com/u/c.bertulli)\
**Post date:** [April 10, 2019, 6:37am UTC](https://forum.inductiveautomation.com/t/numeric-on-screen-keyboard/23959/3 "2019-04-10T06:37:24Z")

</div>

Well, you can do something like this, although I’m with @paul-griffith ( you should use a Numeric Text Field )  
-On you Text Field, under **Behavior** go to **TouchScreen Mode** and select **None**.  
-Then CTRL + J ( scripting ) on your Text Field  
-Select **MouseReleased** and put this code:

```auto
initial_value = int(event.source.text)
font_size = 16
entered_number = system.gui.showNumericKeypad(initial_value,font_size)
event.source.text = str(entered_number)

```

---

<div class="post-metadata">

**Author:** ![jcaudle](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jcaudle](https://forum.inductiveautomation.com/u/jcaudle)\
**Post date:** [September 29, 2022, 8:52pm UTC](https://forum.inductiveautomation.com/t/numeric-on-screen-keyboard/23959/4 "2022-09-29T20:52:16Z")

</div>

Will the numeric entry field ever get properties like deferUpdates and rejectUpdatesWhileFocused? I often use the Text Fields when a Numeric Entry Field makes more sense just because of these options.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 29, 2022, 9:07pm UTC](https://forum.inductiveautomation.com/t/numeric-on-screen-keyboard/23959/5 "2022-09-29T21:07:20Z")

</div>

I don't know that anyone's ever asked for it, so we've never really had to. We certainly could. A post on our ideas forum would help us gauge how interested folks are in such a thing.

---

<div class="post-metadata">

**Author:** ![jcaudle](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@jcaudle](https://forum.inductiveautomation.com/u/jcaudle)\
**Post date:** [September 30, 2022, 12:35pm UTC](https://forum.inductiveautomation.com/t/numeric-on-screen-keyboard/23959/6 "2022-09-30T12:35:46Z")

</div>

I thought I had in the forum before but I did not in the Ideas forum. Here is another post along those lines.

[Don't Reject Updates on Numeric Entry Field | Voters | Inductive Automation](https://ideas.inductiveautomation.com/ignition-features-and-ideas/p/dont-reject-updates-on-numeric-entry-field)
