Specifies whether or not an input field should have autocomplete enabled. Autocomplete allows the browser to predict the value. When a user starts to type in a field, the browser should display options to fill in the field, based on earlier typed values. The autocomplete property works with the following <input> types: text, search, url, tel, email, password, datepickers, range, and color.

Note: This is not an ajax autocomplete. The browser remembers the values previously entered in the field and uses that history to provide the autocomplete functionality. It may be undesitable to have this option turned on on some fields for security reasons (for example, user and password fields) or because it is not helpful to the user (numeric entry fields perhaps).

Default value

Default - uses the browser default. This is usually "on" but my depend on user preferences.

Valid values

on, off or Default. Note that a value of "on" will never override a user preference setting disabling this feature.