Turning off AutoComplete for TextBoxes in IE and FireFox

This is one a lot of people know, but it's worth covering again because it's easily forgotten as it's a small detail. Since we do eFinance sites, we often don't want folks' UserNames collected and stored in AutoComplete, especially when the site is browsed on a public machine.

<form id="formSignOn" autocomplete="off" method="post" runat="server">

Note that autocomplete="false" doesn't work. However, autocomplete="off" works in both IE and FireFox.

Thanks to Johnson Michael for reminding me of this tip.

Tracked by:
http://blog.s3soft.com/PermaLink.aspx?guid=b4e8223d-345c-44b4-a66d-53481479f675 [Pingback]
"Turning off AutoComplete for TextBoxes in IE and FireFox " (The glamorous world... [Trackback]
"Per disabilitare l' autocomplete sulle textbox..." (Luke's Blog) [Trackback]
"Turning Off Autocomplete" (JOEL'S BLOG) [Trackback]
"Turning Off Autocomplete" (Joel's Virtual Desktop) [Trackback]
"Turning Off Autocomplete" (Joel Ross) [Trackback]
Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer’s view in any way.