Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Safari 6 - autocomplete affecting whole form

Tags:

html

safari

Using autocomplete="off" on a password input is having this effect on the whole form not just the password field.

This wasn't the case in Safari 5.

Even adding autocomplete="on" to other fields in not working.

<form name="login" method="post" action="login.html" >
E-mail<br/>
<input name="email" type="text" ><br/>
Password<br/>
<input name="password" type="password" autocomplete="off" >
</form>
like image 640
Guesser Avatar asked Apr 06 '13 13:04

Guesser


1 Answers

Tried replicating the same on Safari 5.1.7.

I've set form's autocomplete as "on" and didn't make any addition to the password field (not explicitly setting password field's autocomplete "off"). Password field does not show an auto-completed suggestion, while the other fields work fine and shows auto-complete suggestions.

Please let me know in case you need any more explanation.

like image 59
Chirag Mongia Avatar answered Oct 19 '22 05:10

Chirag Mongia