formMethod

Jump to: navigation, search

formMethod

This page has been flagged with the following issues:

High-level issues:


W3C Candidate Recommendation

Summary

The formmethod attribute defines the HTTP method for sending form-data to the action URL.


Applies to HTMLInputElement

The formmethod attribute overrides the method attribute of the <form> element.

Examples

HTML

<form action="submit_post.php" method="post">
  Input field: <input type="text" name="inputfield">
  <input type="submit" value="Submit">
  <input type="submit" formmethod="get" formaction="submit_get.asp" value="Submit using GET">
</form>


Syntax

Standards information

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

See also

Related pages (MSDN)

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]