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.

Compatibility

There is no data available for topic "html", feature "formMethod". If you think that there should be data available, consider opening an issue.

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]