Notice:
The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

formMethod

Jump to: navigation, search

formMethod

This article is Not Ready.

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


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]