Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone UIWebView - Can auto complete be turned off on a input text field?

I've searched high & low for an answer on this and I can't seem to find an answer or anybody else having the same issue. Hope some one can assist?

I have a web page for signup which I'm viewing in an iPhone UIWebView. A user is asking if we can stop capitalization on the first letter of the email address being entered. I thought this didn't matter, but apparently it can for the local-part on some email systems (apparently it's only the domain that is only case insensitive).

It seems autocomplete is the culprit. I've tried adding autocomplete="off" to the input element in the html, but iOS is obviously ignoring it:

alt text

Can auto-complete be turned off on a html input text field within a UIWebView?

Thanks

like image 789
gef Avatar asked Oct 22 '10 20:10

gef


1 Answers

Add autocorrect="off" attribute to your input text field.

like image 112
Michal Avatar answered Nov 15 '22 20:11

Michal