Removing the autocomplete or F5 Refresh in Firefox from remembering field values…

Posted by joelvarty on ASP.net Weblogs See other posts from ASP.net Weblogs or by joelvarty
Published on Mon, 22 Mar 2010 18:19:20 GMT Indexed on 2010/03/22 18:21 UTC
Read the original article Hit count: 274

Filed under:

With a normal input field, the value will be “remembered” by Firefox when you hit F5 or Refresh.  ctrl-F5 will clear the value, but most users won’t know to do that.  So if you need a value to remain blank, or set to it’s default value, on a regular refresh, simply add the following attribute: autocomplete="off"

That was easy.

more later - joel

© ASP.net Weblogs or respective owner

Related posts about ASP.NET