November 2011
Intermediate to advanced
384 pages
13h 23m
English
You can use the autocomplete input attribute to instruct the browser how it should remember the values in a form after it is submitted. When the form loads again, supported web browsers will present a pull-down list showing all previous values after the user types the first character that matches a previously used value. This feature is enabled by default, but should be disabled for security text fields, such as usernames and Q&A authentication.
You can disable it on your website by applying autocomplete='off' to a form tag:
<form ... autocomplete='off'> <input type='text' ... > </form>
Or set autocomplete='off' on individual input elements; no values will be cached, nor will a pull-down list appear: ...
Read now
Unlock full access