Autocomplete = "new password" not working and "use password for" dropdown list still shown Autocomplete = "new password" not working and "use password for" dropdown list still shown google-chrome google-chrome

Autocomplete = "new password" not working and "use password for" dropdown list still shown


You can prevent Chrome from suggesting by adding two hidden fake fields as well as adding the autocomplete="off" to the form and autocomplete="none" to the main inputs.

Here's a working sample:

<form id="form1" autocomplete="off" runat="server"><input style="display:none" type="text" name="fakeusername"/><input style="display:none" type="password" name="fakepassword"/><input id="Text1" type="text" name="text" runat="server" autocomplete="none" /> <input id="Password1" type="password" name="password" runat="server" autocomplete="none" /><input id="bb" type="submit" name="submit" /></form>

Jsfiddle: https://jsfiddle.net/wb20t08g/3/

NOTE: You need to delete google chrome suggestions that have been saved there from before. (Ctrl + Shift + del). But after that if you click on submit, Chrome won't show any pop-up mentioning if you want to save the password or any dropdown for suggestions.