8

Possible Duplicates:
How do you disable browser Autocomplete on web form field / input tag?
Is there a W3C valid way to disable autocomplete in a HTML form?

My browser automatically fills the register form in my website, which is supposed to be anonymous so it's not a very good sign to users to see their names already on the form.

Is there a way to prevent this from happening?

I could take the input box and simply erase it with javascript but I wanted to know if there was another way round. Thanks

Community
  • 1
  • 1
lisovaccaro
  • 32,502
  • 98
  • 258
  • 410

1 Answers1

11
<input type="text" autocomplete="off" />

That should work.

Joseph Marikle
  • 76,418
  • 17
  • 112
  • 129