I
I
IvanOne2015-11-16 11:35:14
Browsers
IvanOne, 2015-11-16 11:35:14

Firefox ignores the autocomplete attribute, what to do?

There is a password change input in a complex form, it should be empty by default.

<input autocomplete="off" id="id_old_password" name="old_password" type="password">

The password saved earlier is inserted, chrome does not insert, and firefox simply ignores, how can I fix the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
IvanOne, 2015-11-16
@IvanOne

The problem was solved by the plugin https://github.com/say2joe/jquery.disable-autocomplete

W
Wheelie, 2015-11-16
@Wheelie

if a site sets autocomplete="off" for username and password input fields, then the browser will still offer to remember this login, and if the user agrees, the browser will autofill those fields the next time the user visits this page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question