Why isn't the browser asking to remember the password?

blah picture blah · Apr 5, 2010 · Viewed 7.9k times · Source

What do you need to do on a login form so that the browser prompts to remember the login information? I have a input named "username" and one named "password".

on my browser i have it set to ask if it should remember the password, and it does on most sites, but on the site that i am testing it doesnt, so i am wondering what can be changed to make it remember.

i am also using the type=password for the password field, and it logs in fine and everything, but neither firefox, or safari want to remember it. it is not a huge problem, but it would be nice to figure out

Thanks

here is the form:

<form id="login" method="post" action="/login.php">
<div class="cell">

<div class="left">Username: </div>
<div class="right">
<input type="text" id="username" name="username"> 
</div>

<div class="left">Password: </div>
<div class="right">
<input type="password" id="password" name="password">

Answer

Brendan Long picture Brendan Long · Apr 5, 2010

Make sure your input is type="password". If its type is text, it won't work.