If I set the input type = number when tapping in the input field I am getting the full keypad instead of the numeric only.
If I set the input type = number when tapping in the input field I am getting the full keypad instead of the numeric only.
I forgot to mention this is only on iOS. On Android the numeric kaypad is displayed just fine.
Okay, more info.
I have an input control on page. I set the type = tel and add pattern of [0-9] and on iOS I get numeric keypad with only numbers.
I have an input control on page. I set type = number and add pattern of [0-9] and on iOS I get full numeric keypad with numbers as well as all the extra characters.
Is the pattern ignored for a type of 'number'?
Hi Roger,
This seems to be an iOS issue. What is your iOS version? We'll test.
My iOS is 7.1.1.
If I use a pattern of [0-9]* then I get just the numbers. Is there a way to get the number pad with a decimal point?
Roger,
You're right, pattern affects the keypad displaying: http://danielfriesen.name/blog/2013/0...
This may help: http://www.petefreitag.com/item/768.cfm
Yep, that is exactly what I see. Oh well, I will workaround this.
Thank You.
Hi Kateryna,
Can you please help me understand where I would place my code to change the keyboard/ input type? I would like to recreate the keyboard from the first link shared and I don't know where or really how to implement this code on appery. Would I run a java script on the label when clicked and then input that code?