seth
seth

Reputation: 1389

TextBox Password mode filling itself

I have a website where the user enters a combinations of login and password to enter. I have some other page where the user has the ability to change the password. I added there 3 textboxs in password mode (actual, new, and confirm).

The odd thing is that the first textbox is being filled automatically with the password that i enter on login and that is stored in Firefox. If i do this on IE (where i don't have the password saved) this doesn't happen.

Also, this issue completely solves itself if i change the mode on the textboxs.

Am i missing something here? I obvisouly don't want the password to be filled automatically which would take away the whole purpose of the textbox.

Regards,

Upvotes: 0

Views: 1203

Answers (2)

Daniel A. White
Daniel A. White

Reputation: 191048

Add autocomplete="off" as an attribute.

Upvotes: 1

DJ Quimby
DJ Quimby

Reputation: 3699

Add the autocomplete="off" attribute to any fields that you don't want the browser to fill out.

Upvotes: 2

Related Questions