I am using a monthpicker input (similar to jQuery UI datepicker) for a credit card expiration field.
I need to suppress the iPhone keypad because it hides the month picker.
I have tried setting the field to readonly and it is not an acceptable solution - in Safari iOS 5.1 readonly fields are skipped over in keyboard navigation (prev/next buttons on the keypad). Blurring the field is also not acceptable because it triggers validation (we are also using jQuery validation).
Is there a way to turn off the iPhone keyboard on a single field without setting it readonly or blurring it?
<input type="month"/>
throws a better month picker up for iPhone. Opera 11.6 pops up a full date picker so I'll have to work around that somehow. This doesn't answer the question as asked but it looks like it solves the problem. – Katti