The Current State of HTML5 Forms

The formenctype Attribute

<form enctype="multipart/form-data">
  <input type=submit value=Submit 
    formenctype="application/x-www-form-urlencoded">
</form>

Live Demo

Firefox
3.6
Firefox
4
Safari
5.0.3
Safari Mobile
iOS 4
Chrome
6
Chrome
10
Opera
10.6
Opera
11
IE
9
IE
10 PP2
? ? ? ? ? ? ? ? ? ?

The Low Down

The formenctype attribute is for submit buttons to force a form to submit the data in the specificed encoding rather than the encoding specified in the form element.

  • Possible use case: Multiple language issues?
  • Setting a value other than "typical" encoding types yields inconsistent results.
  • Need to build a way to test this accurately.