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.

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.

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]