The Current State of HTML5 Forms

The autocomplete Attribute

<form autocomplete=off>
			<input type=text name=name autocomplete=off>

Live Demo

Firefox
4+
Safari
5.2+
Safari Mobile
iOS 4
Chrome
17+
Opera
10.6+
IE
11+
Android
2.3-
Supported Supported N/A Supported Supported No support No support

The Low Down

For browsers with a form complete feature, the autocomplete feature can prevent a specific field from being auto-filled. Example: a form might ask for a pet's name. It is likely that the field will auto-fill incorrectly and cause problems.

  • There will be no visual difference between supported and unsupported browsers.
  • For browsers with a form complete feature but without support the autocomplete attribute, the field could still be auto-filled. Irrelevant (N/A) for browsers without a form complete feature (e.g. Mobile Safari)
  • Values are "on" and "off"
  • Spec says to default to "on"
  • Possibly useful for extra security on password fields
  • Seems to even prevent things like 1Password
  • Safari 5.1 didn't support this attribute but Safari 5.2 does.
  • Somewhere between Chrome 11 and Chrome 17 (tested 17) Chrome started supporting this attribute.