Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disallow IE AutoComplete?

Status
Not open for further replies.

westcoaststyle

Programmer
Oct 15, 2001
81
US
I've seen this done on other sites, but can't figure out how it's done. If a user comes in to enter their username/password, how do I disable the AutoComplete so that they can't just click on the text field and select the username from the IE drop menu?

Thanks!
 
hahahahaah! I can't believe it was that simple. DOH!

Thanks a lot man! :c)
 
Guys, how would i refernce this in the style sheet?

Is it something like 'auto-complete: off;' ??

Thanx

Dave
 
now why would u want to do that in css?

Known is handfull, Unknown is worldfull
 
So i can set it to all rather than doing it individually,..... but it doesnt matter now, was just wondering.

:)
 
u dont have to set it to all.
in the for tag u cna do this:
<for autocomplete=&quot;off&quot;....>

all the fields that fall under this tag will automatically be set to off....

Known is handfull, Unknown is worldfull
 
oops it is not the for tag it is the form tag.
Code:
<form autocomplete=&quot;off&quot;....>

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top