I am doing a webapp and I would like the input field to display the Iphone number keypad. I understand that type=number will make the keyboard the way I would like.
The problem is that type=number does not support placeholder text. Therefore, if I wanted to:
Date of expiration:
[example: 2010]
I can not get it to work, and also show the correct keyboard.
Is there a way to get the iPhone keyboard to go into numeric mode without using the number input type?
source share