Mozilla Support में खोजें

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Why save wrong username value with remember password function?

  • 3 प्रत्युत्तर
  • 1 यह समस्या है
  • 6 views
  • के द्वारा अंतिम प्रतियुतर Boby88

more options

I use ztInputHint jQuery plugin with default settings (use title tag in input field) to fill the input fields with a pre-set text. My problem: the Firefox password manager saves the password field's title as username value. When I turned off the jQuery plugin everything works well. How can i fix this issue? I know about the placeholder attribute but that is not as the same.

I use ztInputHint jQuery plugin with default settings (use title tag in input field) to fill the input fields with a pre-set text. My problem: the Firefox password manager saves the password field's title as username value. When I turned off the jQuery plugin everything works well. How can i fix this issue? I know about the placeholder attribute but that is not as the same.

All Replies (3)

more options

It looks like the google code version of the plugin uses the title by default: https://code.google.com/p/ztinputhint/

However if its not compatible with Firefox, it may not work properly.

more options

Does that field has a type="password" or type="text" attribute?

The Firefox password manager saves the password field (type="password") and uses the field with type="text" that appears in the DOM just before that password field as the user name.

more options

Username has a type="text" attribute, and password field's type is password. And username is before the password field. If i disable the plugin. FF saves username and password correctly, but with enabled plugin it saves the password's title as username. I tried to change name attribute to username and password only but nothing changed.