DelphiFAQ Home Search:
General :: Web publishing
Information about web publishing, how to maintain, optimize and promote a web site.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Recommended links on this topic:
Featured Article

How can I disable the autocomplete feature in my web site's form?


How can I disable the autocomplete feature in my site's login form?


Both Internet Explorer and Mozilla support a new autocomplete property in the <FORM> tag. By default it is enabled. Turn it off as shown in the sample form below; either turn it off for all fields in a form or only for selected input fields.

Some notes on AutoComplete:
The autocomplete feature for web forms was introduced by Microsoft with version 5 of Internet Explorer. If the user disables it in the menu (Tools - Internet options - Content - AutoComplete), then your site cannot turn it on.

<form method=post action="/login" autocomplete=off>
 .. whole form has autocomplete turned off
 .. here one field is turned off only:
 <input type=text name=id AUTOCOMPLETE=OFF>

Generated 0:01:53 on Sep 21, 2020