Safari 6 - autocomplete affecting the whole form

Using autocomplete = "off" at the password input has such an effect on the entire form, and not just on the password field.

This does not apply to Safari 5.

Even adding autocomplete = "on" to other fields that don't work.

<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> 
+6
source share
3 answers

Tried to repeat the same on Safari 5.1.7.

I set the autocomplete of the form as "on" and did not add any additions to the password field (without explicitly setting the autocomplete of the password field to "off"). In the "Password" field, an auto-complete offer is not displayed, while other fields work fine and auto-complete offers are displayed.

Please let me know if you need more explanation.

+1
source

Following my comment:

Did you explicitly set autocomplete = "on" at the form level by disabling it for the password? (from w3schools.com: http://www.w3schools.com/tags/att_input_autocomplete.asp )

 <form name="login" method="post" action="login.html" autocomplete="on"> E-mail<br/> <input name="email" type="text" ><br/> Password<br/> <input name="password" type="password" autocomplete="off" > </form> 

Also confirm that it is not a browser that stores the username as a password that is automatically populated? (i.e., “Do you want Safari to remember these credentials?” - Not big Safari users, so not sure how it requests / manages credential storage.

0
source

try adding '/' at the end of password tags

  <input name="password" type="password" autocomplete="off"/> 
0
source

All Articles