How i do for convert a text field in a numeric type? my application should accept just numeric characters, and enable just the numeric keyboard.
Select the Input Text Field widget and look to the Properties palette. You can then change the input type to numbers.
Drag and drop text widget and a label into canvas. Then add a condition to the text widget. When input is number only hide the label, otherwise show the label. Look at the screen shot. The condition is basically 'RegEx(text widget, isNum)'
'isNum' is a regular expression under Constants tab.
I understand you, but I would like something like this:
Could help me?
Please take a look at this topic, https://www.justinmind.com/community...
It is not my intention, I would like to use the numeric keypad Safari, rather than building a new keyboard, it would be possible use a numeric type into a text box.
There is no other way?
I managed to solve the problem including a HTML widget with the following code:
input type="text" pattern="d*"
But now I can not enable the keyboard in "simulation" and I can not play the field values in my variables.
How to solve this?
I know it has been a while. Did you provide a solution to Marcos? I'd like to do something like have a ZIP code input field that brings up the numeric keyboard instead of the full keyboard.
It would be ideal if the Input text properties tab has "numeric" in addition to text, textarea and password.
Replies have been locked on this page!