autoComplete attribute (form, input)
Sets whether the text field should give the user some suggestion during typing.
When the Autocomplete is enabled, suggestions can be visible for the value of the text field. The suggestions are stored on the local machine when the user submits the form, based on the value of the name or vCard_name (Internet Explorer only) attribute of the element.
You can set the default state of auto completion in a form with the autoComplete attribute of the form tag. This setting affects all input:password and input:text elements on the form, but can be overridden with the autoComplete attribute of these tags.The user can disable Autocomplete windows in Internet Explorer (Tools / Internet Options / Content / Autocomplete - Settings).
The autoComplete attribute has effect only if the use of Autocomplete windows is enabled in the browser.
String that sets the state of autocompletion.
One of the following values:
|AutoComplete is disabled.|
|AutoComplete is enabled.|
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the autoComplete attribute. The default Autocomplete settings need to be changed for this example in Internet Explorer 8 (Tools / Internet Options / Content / Autocomplete - Settings / enable Forms):
Did you find this example helpful?
Supported by tags:
User Contributed Comments