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.

formEnctype

Summary

The formenctype attribute specifies how the form-data should be encoded when submitting it to the server.

Applies to [HTMLInputElement](/html/elements/input)
The formenctype attribute overrides the enctype attribute of the \ element with method="post".

Examples

<form action="submit.php" method="post">
  Input field: <input type="text" name="inputfield">
  <input type="submit" value="Submit">
  <input type="submit" formenctype="multipart/form-data" value="Submit as Multipart/form-data">
</form>

Syntax

Standards information

See also

Related articles

HTML

Related pages

Attributions