01-04-2012 01:40 AM
in my app the username and password both are numbers but when i used input fields, when i tap on the input field virtual keyboard pops up . Problem is to enter every number i have to change it to numerical mode which is annoying
is there any way to make the virtual keyboard to show only numbers and keypad to go into numeric mode???
Solved! Go to Solution.
01-04-2012 02:21 AM
my bad didnt googled properly before posting here in form ![]()
solved :-D
<input name="usrnm" type="number" id="usrnm" maxlength="6" class="usrnm"/>
but what if i want same effect on password field too??? :-o
i cant specify two types for single input field :-/
01-04-2012 12:21 PM
Hi onelord2002,
I do not believe there is an elegant way to do this. I believe the best way is to leave it as numerical and through javascript events store what they're typing and replace the output with *s.
button below the post(s)