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.
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.
About Newsletter
Also, another note regarding Autocomplete. If you are using Visual Studio .NET version 2003 or earlier, it sometimes will add AUTOCOMPLETE="ON" when you are in design mode. I haven't tested this in Whidbey yet to see if this is fixed.
joe
Comments are closed.