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

Compatibility

Desktop

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?

Mobile

Feature Android BlackBerry Chrome for mobile Firefox Mobile (Gecko) IE Mobile Opera Mobile Opera Mini Safari Mobile
Basic support ? ? ? ? ? ? ? ?

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]