This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

formAction

Summary

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

Applies to [HTMLInputElement](/html/elements/input)
The formaction attribute overrides the action attribute of the \ element.

Examples

<form action="login.php">
  First name: <input type="text" name="name"><br>
  Last name: <input type="text" name="surname"><br>
  <input type="submit" value="Login"><br>
  <input type="submit" formaction="admin_login.php"
  value="Login as admin">
</form>

Syntax

Standards information

See also

Related pages

Attributions