Chrome ugly message when autofill is disabled



Since Chrome recently upgraded, I’ve started to see the message “This web page has disabled automatic filling for this form.” all over my website when form controls are clicked (OK, accidently double clicked) where autocomplete=”off” (we’re talking about chat rooms etc where the browser really doesn’t need to remember previous messages sent).

It’s pretty ugly, does anybody know how to disable this? I can’t find much information on the web, other than things dating back to 2010 just saying that this is a feature. The thing is, it’s only just started happening for me on the latest version, same for another computer running Chrome.

Any ideas?






Just stumbled upon the same problem and found a simple fix.

You have to add the autocomplete attribute directly to the input field NOT to the whole form.

This code works:

<form method="get" action="index.php">
    <input type="text" name="q" autocomplete="off">

And this won’t

<form method="get" action="index.php" autocomplete="off">
    <input type="text" name="q">


Facebook Comments

Post a comment