# Issue number field

**URL:** <https://forum.inductiveautomation.com/t/issue-number-field/113411>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [January 20, 2026, 2:52pm UTC](https://forum.inductiveautomation.com/t/issue-number-field/113411 "2026-01-20T14:52:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dario.cappuccio](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@dario.cappuccio](https://forum.inductiveautomation.com/u/dario.cappuccio)\
**Post date:** [January 20, 2026, 2:52pm UTC](https://forum.inductiveautomation.com/t/issue-number-field/113411/1 "2026-01-20T14:52:54Z")

</div>

Hi,

I’ve this pop up

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/e/6e639ca8ee4fda4eb5a535b60febe1aeddd1ec7e.png)

When the operator press the OK Button trigger a script:

```python
angle = event.source.parent.parent.getComponent('angle_num').floatValue
barcode = event.source.parent.parent.getComponent('barcode_num').intValue

callsp = system.db.createSProcCall('procedure_name')
callsp.registerInParam("BARCODE", system.db.INTEGER, barcode)
callsp.registerInParam("ANGLE", system.db.FLOAT, angle)

system.db.execSProcCall(callsp)

event.source.parent.parent.getComponent('angle_num').floatValue = 0
event.source.parent.parent.getComponent('barcode_num').intValue = 0

```

The problem: If I use the mouse on my pc it’s work, instead when the operator use the Touchscreen it’s like the focus remain on the number field (the last I insert) .

The behavior of my number fields are:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/3/c3afb9647b68de17fa6a7837540748bd213ae096.png)

Could you help me please? Thank in advice

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [January 20, 2026, 4:00pm UTC](https://forum.inductiveautomation.com/t/issue-number-field/113411/2 "2026-01-20T16:00:54Z")

</div>

When using the touchscreen, is pressing the button itself not working?

Is it really a button component or a label with a mouse action?

What specific event are you using?

---

<div class="post-metadata">

**Author:** ![dario.cappuccio](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@dario.cappuccio](https://forum.inductiveautomation.com/u/dario.cappuccio)\
**Post date:** [January 21, 2026, 6:37am UTC](https://forum.inductiveautomation.com/t/issue-number-field/113411/3 "2026-01-21T06:37:52Z")

</div>

1. the button work but the last number field that I compiled remain focus.
2. I use a button
3. the event is ActionPerformed.

thanks

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [January 21, 2026, 6:48am UTC](https://forum.inductiveautomation.com/t/issue-number-field/113411/4 "2026-01-21T06:48:21Z")

</div>

In the project properties, do you have Touch mode enabled?

 ![Screenshot_198](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/2/52540c0211b2e2f797f078b8e3fdc0ac656fd899.png)

---

<div class="post-metadata">

**Author:** ![dario.cappuccio](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@dario.cappuccio](https://forum.inductiveautomation.com/u/dario.cappuccio)\
**Post date:** [January 21, 2026, 11:57am UTC](https://forum.inductiveautomation.com/t/issue-number-field/113411/5 "2026-01-21T11:57:17Z")

</div>

Hi, yes I did it but it’s not that the problem. Thank you
