When a user is browsing the site with Google Chrome (1.0.154.65) and has a site account but is not logged-in, the browser auto-fills their username/password in the User Login block.

Saveguard views this a form edit -- and thus prompts whenever the user tries to leaves the page...

Is there a way to avoid this?

Comments

deekayen’s picture

Title: Repeatedly triggered by user form autofill in Chrome » Ignore autofill entries
Version: 5.x-0.1 » 7.x-1.x-dev
Category: support » task

I confirmed this behavior for 4.0.203.0 (203.0) on Mac, but don't know what to do about it.

jeffschuler’s picture

Don't markPageUnsaved() on fields like #edit-name ...?

aren cambre’s picture

The problem isn't related to autofill. Various autofill techniques can be used to fill in all sorts of fields.

The problem is that the module is even watching the username and password fields.

These fields should be ignored; even if the user typed info into them, properly designed UIs should make it clear that if the user wants to utilize that typed-in information, he should press the Log in button.

There is no need to monitor input of these fields.

aren cambre’s picture

Title: Ignore autofill entries » Doesn't ignore username and password fields
Version: 7.x-1.x-dev » 7.x-1.0
Category: task » bug

[deleting inadvertent duplicate comment]

deekayen’s picture

Status: Active » Closed (won't fix)

I use http://drupal.org/project/clear_password_field, but that's not really a solution to what's described here. My experience with recent versions of Chrome is that you have to start typing something for it to autofill.

aren cambre’s picture

Status: Closed (won't fix) » Active

I'm assuming you inadvertently closed this issue?

pwolanin’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

This seems to not be an issue with recent versions of Chrome, so I think closing it was intended

bwaindwain’s picture

To ignore certain forms, see https://www.drupal.org/node/203244