I am designing a small webpage targeted for the iPhone/iPod touch. I have a form that requires the user to enter a code. When you tap on the corresponding field, the iphone will automatically set the first letter to caps. Is there any way to avoid this? I want the whole field to be entered in small caps.
Thanks
Edit: use “none” instead of “off”. On your webpage, all you need to do is set the autocapitalize property to off for your input field. So:
See the Safari Web Content Guide: Designing Forms and Safari HTML Reference
Below is the answer I had before, which relates to native apps. Keeping around for anyone who’s looking for that answer.
From the UITextField Documentation
So basically, the UITextField supports this protocol. The property needed is the autocapitalizationType. An example in code is:
or if you dislike the dot notation: