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
  • 27,544
  • 92
  • 235
  • 388

1 Answers1

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

That should work.

Joseph Marikle
  • 68,672
  • 14
  • 103
  • 120