cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Textfield widget needs to open numeric keypad when opening in mobile

KT_10107318
7-Bedrock

Textfield widget needs to open numeric keypad when opening in mobile

The PTC textfield widget in thingworx is opening alpha numeric keypad when focused. The input type = text in the html. Is there a way to make it open numeric keypad. In javascript we can simply change input type= number to open numeric keypad. Can anyone help me to fix this

3 REPLIES 3

Hi @KT_10107318   Unfortunately the OOTB widget doesn’t support the expected behavior. Please note that a 1:1 relationship is always enforced so you can not enter more or less characters than specified in the mask
You can achieve the desired behavior by creating a custom widget.
If you want to request a change in the functionality of ThingWorx you can open a product idea in the community.

Hi @KT_10107318,

 

If want to accept only numeric input, you can use Numeric Entry widget instead of Text Field widget.

 

Tony

Hi @KT_10107318,

It appears that a response to this post answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate an appropriate one as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,

Tony
Announcements


Top Tags