Reputation: 1027
I have tried to find a way to prevent browsers (mostly FF) to prevent auto-filling of my form. I don't mine auto complete, as they type in values it offers suggestions. But when I load a form in FF it auto fills the form with the previous values. But I want to always have the fields be blank on load.
I have tried using autocomplete="off" in the tag, but that does not work. Are there any solutions to this? I have looked for other questions and they all say to use that attribute, but it does not work for auto filling, it does for auto complete. Could I use JS/jQuery to do this?
Upvotes: 7
Views: 6322
Reputation: 770
New versions of Chrome and Mozilla don't recognize autocomplete="off"
or autocomplete="false"
. I solved autocomplete issue using this js solution
Upvotes: 0
Reputation: 176886
try this might work for you set autocomplete="off"
<input type="text" autocomplete="off" />
check : How to Turn Off Form Autocompletion
Upvotes: 14