[thelist] Cancel Form Field memory in IE

Ken Kogler ken.kogler at curf.edu
Tue Aug 20 12:54:01 CDT 2002


> Is there a way to remove the ability for
> a users browser to remember form field values?

The other suggestions work, but AFAIK won't validate...

IE's autocomplete feature is based on the name="" and/or id=""
arrtibutes of the <input> tag. Adding a random number to this will serve
to disable the autocomplete as well:

  <input type="text name="username_<%=datepart(now,"s")%>"
   id="username_<%=datepart(now,"s")%>" value="">

Then just throuw away everything after the "_"...

This is, obviously, a lot more work, but it's an alternative.

--Ken




More information about the thelist mailing list