Prevent browsers from auto-filling form fields

Viewed 5952

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?

2 Answers

New versions of Chrome and Mozilla don't recognize autocomplete="off" or autocomplete="false". I solved autocomplete issue using this js solution

Related