The Current State of HTML5 Forms

The formmethod Attribute

<form method=post>
  <input name=hidden-value value=5 type=hidden>
  <input type=submit value=Submit formmethod=get>
</form>
		

Live Demo

Firefox
4+
Safari
5.2+
Safari Mobile
5+
Chrome
10+
Opera
10.6+
IE
10+
Android
4.0+
Supported Supported Supported Supported Supported Supported Supported

The Low Down

The formmethod attribute can force override a form's set method (e.g. get or post) with the specified method.

  • Valid as an attribute of elements that can submit a form, including <input type=submit> and <input type=image> and <button>.