We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search 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

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

how to force Firefox to turn off autocomplete in HTML?

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.