Skip to content

Commit

Permalink
autocomplete - exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishwillee authored Sep 30, 2024
1 parent 0e715d2 commit 518829c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ You can do this either for an entire form, or for specific input elements in a f

Setting `autocomplete="off"` on fields has two effects:

- It tells the browser not to save data inputted by the user for later autocompletion on similar forms, though heuristics for complying vary by browser.
- It tells the browser not to save data inputted by the user for later autocompletion on similar forms (some browsers make exceptions for special cases, such as prompting users to save passwords).
- It stops the browser from caching form data in the session history. When form data is cached in session history, the information filled in by the user is shown in the case where the user has submitted the form and clicked the Back button to go back to the original form page.

If a browser keeps on making suggestions even after setting autocomplete to off, then you have to change the `name` attribute of the `<input>` element.
Expand Down

0 comments on commit 518829c

Please sign in to comment.