Form autocomplete Property
Set autocomplete to off:
Definition and Usage
The autocomplete property sets or returns the value of the autocomplete attribute in a form.
When autocomplete is on, the browser automatically complete values based on values that the user has entered before.
Tip: It is possible to have autocomplete "on" for the form, and "off" for specific input fields, or vice versa.
Tip: In some browsers you may need to activate an autocomplete function for this to work (Look under "Preferences" in the browser's menu).
Return the autocomplete property:
Set the autocomplete property:
|on||Default. The browser will automatically complete values based on values that the user has entered before|
|off||The user must enter a value into each field for every use. The browser does not automatically complete entries|
|Return Value:||A String, representing the state of autocompletion|
Return the state of autocompletion:
The result of x will be:
HTML reference: HTML <form> autocomplete attribute