formAction

Jump to: navigation, search

formAction

This article is Not Ready.


W3C Candidate Recommendation

Summary

The formaction attribute specifies the URL of a file that will process the input control when the form is submitted.


Applies to HTMLInputElement

The formaction attribute overrides the action attribute of the <form> element.

Compatibility

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

Examples

HTML

<form action="login.php">
  First name: <input type="text" name="name">
Last name: <input type="text" name="surname">
<input type="submit" value="Login">
<input type="submit" formaction="admin_login.php" value="Login as admin"> </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]