Reputation: 950
Is there a way to NOT show the on screen keyboard on a website (loaded in safari) when a user clicks on an input type="text" field? I have javascript written to popup a mini "keypad" which I'd like to use instead.
Upvotes: 1
Views: 823
Reputation: 26873
I guess you could try to set the input disabled (disabled="disabled"), show your popup on click and finally update the field content via JS.
Upvotes: 1
Reputation: 8644
You cannot change device behavior from your javascript or website. Especially not if the user has disabled javascript.
The only thing you could do is to allow for all inputs and do server side validation to exclude the phrases or characters you do not wish to be entered.
HTH
Upvotes: 0