Tuesday, November 23, 2004

How to Disable IE AutoComplete in HTML Forms

Using Microsoft's Internet Explorer AutoComplete feature may save a lot of time on your personal PC or in an Intranet environment, but it can be a dangerous thing when creating web applications that involve sensative information. For example, if a user accesses your application at a web cafe and has AutoComplete turned "on", then walks away from the computer, the next person has free reign.

Fortunately, there is a simple solution to this problem. Just add the AutoComplete attribute to either the <form> tag or the <input> tag:
<form AUTOCOMPLETE="OFF">

... or...
<input type="text" name="name" AUTOCOMPLETE="OFF">


Sometimes the AutoComplete feature is a good thing, however, like in an Intranet environment where a user may have to enter the same information over and over. To better control this information as a web developer, the following article gives a good description of what you can do:

Developer's Dex: AutoComplete Feature of Internet Explorer

No comments: