Skip to main content
18-Opal
October 24, 2017
Solved

Limit font type and language input

  • October 24, 2017
  • 2 replies
  • 4005 views

Hi I'm Thingworx Manager

I try to make Thing's name or attribute through service.

Is it possible to restrict the input language to English or limit it to numbers using a widget called textbox or other function in mashup?

Thanks

Best answer by ankitgupta

Hi seonho Cha​,

Per my understanding you can use Regex and allow only a-zA-Z0-9 in your JavaScript code.

Regards,

Ankit Gupta

2 replies

1-Visitor
October 24, 2017

Hi seonho Cha​,

Per my understanding you can use Regex and allow only a-zA-Z0-9 in your JavaScript code.

Regards,

Ankit Gupta

CHASEONHO18-OpalAuthor
18-Opal
October 24, 2017

Thanks Ankit Gupta

1-Visitor
October 24, 2017

What does you mean about restricting the input language to English?

To limit input to numbers you must use Numeric Entry widget.

CHASEONHO18-OpalAuthor
18-Opal
October 24, 2017

Thanks Carles Coll