I’m really surprised by how hard it was to find this on the net! I was working with a form the other day at work when I had a text field that seems to have a very common name.
Now this isn’t an issue in itself but when I went to type something into this field I was given a big drop down of suggestions from my browser cache as to what I may want to put in this field. This is awesome, but not in this particular case.
So how do we stop this from happening? Simple! autocomplete=”off”
An example:
<input name=”search” id=”search” autocomplete=”off” type=”text” />
It’s that simple! No more annoying auto completion on this fancy input field.
“autocomplete” is an invalid attribute of the input tag.
Seems to work fine for me?
Thank you very much! this is what m looking for so long time… work fine for me…
Thank you very much! Really it helps and you saved me