tags:

views:

53

answers:

3

This is more of an annoyance than a problem, but on all the login forms I have created over the years, none of them have ever asked the user in the browser if they want to remember password, what am I not doing?

A: 

Your form is using autocomplete="off" on the login inputs.

Remembering passwords (client side) is a function of the browser. There's nothing you need to do to trigger it. However, the autocomplete tags will turn it off. Simply remove them.

webbiedave
A: 

I think your form elements should have ids, and one of them should be password type. The browser should ask. If not, maybe it's switched off from the browser ?

Victor Z.
A: 

I looked and found out that it was in fact only some of my login forms that weren't doing the remember password mambo. I discovered that the difference was the id field being different to the name field on the password input is the key, i.e.

<label for="password">Password</label>

         <input name="password" type="password"  id="password" />

Doesn't work

But

<label for="pass">Password</label>

         <input name="password" type="password"  id="pass" />

Does

Liam Bailey