Home > Uncategorized > IE AutoComplete Passwords – Getting IE to remember you.

IE AutoComplete Passwords – Getting IE to remember you.

IE Autocomplete PasswordsI had an interesting problem today with a site I’m working on.  The customer claimed that the IE AutoComplete feature, the part that asks to remember your passwords, did not appear after he entered his login information.  Initially, this seemed to be some kind of bug in IE, after all I couldn’t imagine simple <form> tags causing the issue.  First I thought it might be an IE issue and the settings would have to be restored.  Maybe the customer checked the box “don’t offer to remember any more passwords”.  I found a solution for that problem on a page that discusses all the registry hacks needed to be done in order to get this feature to work. After reading the steps to fix IE, I noticed that on my machine, all these settings were in place and the hack did not work.  Then I came back to the root of the problem, the <form> element on the page.

One of the “features” on the page is the ability to change your password on the login form.  That means you need to enter in your username/password and then additionally, a new password/new password confirmation.  I used some DHTML to set the style=display:none on and off.  By default the dispaly:none is set, so that you don’t initially see the new password fields.  However! although I haven’t seen anything to confirm this finding, I did notice when I took out the extra <input type=password> fields, the Autocomplete feature re-appeared.

So… in conclusion, it seems that the IE Autocomplete feature will get confused if there are more that one <input type=password> on the page.  To work around this problem, I am going to put the <div> that contains the <input type=password> for the new password/new password confirm fields outside of the main <form> tags.  Then I’ll use some javascript (probably prototype.js) to grab the html from outside of the <form> and inject it where and when needed.  This actually has a more intuitive result… on the initial login, the AutoComplete prompt is available.  When you change your password it is not.

Categories: Uncategorized
  1. November 4, 2007 at 2:56 am

    On a related note for IE, there is another bug with IE’s autocomplete tool, that it won’t save the data, unless submitted a certain way! Check out this site


    For details on how to make it remember what the user entered.


  2. June 30, 2013 at 12:19 am

    Hi my loved one! I want to say that this article is amazing, great
    written and come with almost all vital infos. I’d like to see more posts like this .

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: