NetTalk Central

Author Topic: Keyboard Field (Numeric)  (Read 2821 times)

ntnewbies

  • Full Member
  • ***
  • Posts: 184
    • View Profile
    • Email
Keyboard Field (Numeric)
« on: September 28, 2023, 01:34:40 AM »
Hi Bruce,
In a memory form, i have a local data field called Amount to Pay. In touch screen environment, i want the user to press the keypad for the amount.
Thus, i declare the Amount To Pay as Keyboard. The numeric pad pops up the first time i load the form. But, after i close it, i cant open it again. Even if i type the number, the value drops into the subsequent field.

How do i get this done properly?

Please advice,

regards,
Jason
C11, nt12

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: Keyboard Field (Numeric)
« Reply #1 on: September 28, 2023, 05:12:10 AM »
in your numeric field put in:

4-Value of Routine priority 4000

loc:extra = clip(loc:extra)&' inputmode="numeric" '

ntnewbies

  • Full Member
  • ***
  • Posts: 184
    • View Profile
    • Email
Re: Keyboard Field (Numeric)
« Reply #2 on: September 28, 2023, 09:24:21 PM »
thanks for the reply osa.
i have tried adding your code and it still looks like the attached example app. (testingkeypad procedure)

regards,
Jason
c11
nt12

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Re: Keyboard Field (Numeric)
« Reply #3 on: September 29, 2023, 03:38:45 AM »
i can't open de zip, what version of NT you use? because in nt 12.55 i found a bug a report to bruce in this topic

https://www.nettalkcentral.com/forum/index.php?topic=9175.msg37652#msg37652

ntnewbies

  • Full Member
  • ***
  • Posts: 184
    • View Profile
    • Email
Re: Keyboard Field (Numeric)
« Reply #4 on: October 01, 2023, 08:35:38 PM »
hi osa,
i will email you.
im using nt12.61

regards,
Jason
c11
nt12.61