I have a form that has a MAC Address field and a Password field and I have the chrome auto-fill options turned off, but when I load the page, chrome thinks the MAC Address should be an e-mail address and puts an e-mail address in there and for the password, it puts a password in there. Is there a way to prevent this behavior? Is there way to do this programmatically on page load, I tried clearing the fields, but that doesn’t work.
Share
I think your only hope is to use the
autocompleteattribute and hope Chrome obliges. On the client side the browser can do whatever it wants, you just have to hope it plays nicely.Another downside to this approach is
autocompleteis not part of the standard.