Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent auto-capitalization in iOS Safari input tags?

I'm making a website with a login site where people can do different things. When using an iPad to login the first letter in the password is auto set to uppercase, how do I change it so that the first letter is not uppercase, but standard lowercase or whatever they enter??

like image 696
Oedum Avatar asked Jun 19 '12 14:06

Oedum


People also ask

How do I turn off auto capitalization in Safari?

Open the Settings app. Tap the section called "General." Tap "Keyboard." Tap "Auto-Capitalization" to toggle it off.


1 Answers

Try this:

<input type="password" ... autocapitalize="off">

This is straight from apple: http://developer.apple.com/library/safari/#codinghowtos/mobile/userExperience/_index.html

Edit:

try just adding the autocapitalize tag to your asp:textbox, see if that works.

<asp:TextBox ID="txbPassWord" runat="server" TextMode="Password" autocapitalize="off"></asp:TextBox>
like image 147
Eric Avatar answered Sep 23 '22 19:09

Eric