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
  • 30,232
  • 96
  • 246
  • 398

1 Answers1

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

That should work.

Joseph Marikle
  • 72,900
  • 16
  • 109
  • 126