Page 1 of 1

Saved username and password

Posted: Wed Oct 08, 2008 3:26 am
by shiznatix
Ok on my website I have of course a registration part. Since I have logged in and saved my password on this site many times I find that when I go to the registration page the username and password fields are already filled in. This is annoying because I am trying to test out the registration system and don't want that filled in with legit info while I am testing it. I tried changing the field names to just whatever crazy stuff but for some reason it sees anything that has field type "text" then next as field type "password" to always be the username and password that you saved for the site. Can I turn this off or trick it into not doing that for certain fields?

Re: Saved username and password

Posted: Wed Oct 08, 2008 4:18 am
by josh
by "it", you mean your browser? Its a browser specific setting, just clear saved passwords.

Re: Saved username and password

Posted: Wed Oct 08, 2008 6:24 am
by shiznatix
But I don't want to clear saved passwords, I just don't want the browser to think that this is a login form, because it isn't, its a registration form and I don't want it just throwing my username and password in there every time. So can I just trick the browser into not putting anything there?

Re: Saved username and password

Posted: Wed Oct 08, 2008 7:12 am
by malcolmboston
theres also a not very well documented HTML attribute for this.

in the INPUT field use autocomplete="off" i believe this also works in the <form> tag

Re: Saved username and password

Posted: Wed Oct 08, 2008 9:54 am
by pickle
If you're using Firefox, you can go into your saved password list & remove your site. You'll then get a little bar appear the next time you try to login asking if you want to save the password. Choose "Never for this site" & you should be good to go.

Re: Saved username and password

Posted: Thu Oct 09, 2008 2:05 am
by shiznatix
malcolmboston wrote:theres also a not very well documented HTML attribute for this.

in the INPUT field use autocomplete="off" i believe this also works in the <form> tag
wow thanks that is exactly what I wanted, never heard of that one before.

Re: Saved username and password

Posted: Thu Oct 09, 2008 6:59 am
by taylor28
IE and Mozilla browser has an option to enable and disable in saving password in field box.
malcolmboston wrote:theres also a not very well documented HTML attribute for this.

in the INPUT field use autocomplete="off" i believe this also works in the <form> tag
have you tried it what malcolmboston shared I haven't heard it yet may I could also try. Did it work?

Re: Saved username and password

Posted: Thu Oct 09, 2008 7:53 am
by shiznatix
as stated in my last post, the attribute autocomplete="off" works for exactly what I wanted to happen there. So yes, it does work

Re: Saved username and password

Posted: Fri Oct 10, 2008 8:26 am
by taylor28
Oh thanks I have applied. Thanks! :)

Re: Saved username and password

Posted: Tue Oct 14, 2008 12:49 am
by geester1
If you want to test it you need to clear cookies every time you exit the browser, this is the fastest and easiest I tihnk.