html - How can I avoid iphone safari first letter in caps -


I am preparing a small webpage targeted for an iPhone / iPod touch. I have a form for which the user Requires to enter. When you tap on related fields, the iPhone will automatically set the first letter to the capitals. Is there any way to avoid this? I want the whole area to be put in small caps.

thanks

Edit: instead of "none" Use on your webpage, you only have to set the AutoCapitrated property for your input field. Therefore:

  & lt; Input autocapitalize = "none" & gt;  

Below and

Below are the answers given to anyone who is looking for the answer that is related to the original app. From the UITextField

The appearance of the keyboard can be customized using the properties provided by the UITXTI InjectTract Protocol. Text field objects apply this protocol and it defines properties that support. You can use these properties to specify keyboard type (ASCII, number, url, email, and other) to display. You can also configure the basic text entry behavior of the keyboard, such as it supports automatic capitalization and correction of text.

So basically, UITextField supports this protocol. The essential property is an example in autocapitalizationType code:

  myUITextField.autocapitalizationType = UITextAutocapitalizationTypeNone;  

Or if you dislike dot notation:

  [myUITextField setAutocapitilizationType: UITextAutocapitalizationTypeNone];  

Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -