This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

how to force Firefox to turn off autocomplete in HTML?

  • 2 प्रत्युत्तर
  • 2
  • 13 views
  • के द्वारा अंतिम प्रतियुतर sbland@calgovtech.com

more options

I have a web application that conains a username and password login page. I want to disable the autocomplete feature programatically (i.e. in HTML or javascript). In IE, autocomplete="off" works perfect, but not in Firefox. In Firefox, with autocomplete="off" the username does not autocompete, but the password autocomplete's as soon as I enter a valid username. I do not want Firefox to do this. How can I make this work with Firefox?

I have a web application that conains a username and password login page. I want to disable the autocomplete feature programatically (i.e. in HTML or javascript). In IE, autocomplete="off" works perfect, but not in Firefox. In Firefox, with autocomplete="off" the username does not autocompete, but the password autocomplete's as soon as I enter a valid username. I do not want Firefox to do this. How can I make this work with Firefox?

All Replies (2)

more options

That only happens if you have saved a name and password previously in the Password Manager.

more options

Thanks. I did notice that, but was hoping to prevent the prior info from appearing. In any event, thanks.