Answer the question
In order to leave comments, you need to log in
By what principle does the browser determine the fields in the form as login and password?
I saw an interesting phenomenon in my project. I made a form that consists of 2 fields:
- amount
- password
And all browsers think that the amount field is a login:
Actually, I have several questions:
- By what criterion do browsers draw such conclusions?
- How can I disable this behavior?
- And how to forbid for a specific field to save the password?
Answer the question
In order to leave comments, you need to log in
Regarding disabling autocomplete, try specifying autocomplete="off" in the input attributes.
https://developer.mozilla.org/en-US/docs/Web/Secur...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question