Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

formEnctype attribute | formEnctype property

Used to override the encoding (formEnctype attribute) specified on the form element.

This property is read/write.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.10.19.6Internet Explorer 10

 

Syntax

HTML
<element formEnctype="sEnctype" ... >

 

JavaScript
object.formEnctype = sEnctype
sEnctype = object.formEnctype

 

Property values

Type: DOMString

String specifying one of the following:

application/x-www-form-urlencoded (default)

multipart/form-data

text/plain

Standards information

See also

HTMLButtonElement
HTMLInputElement
input type=submit
formMethod
formAction
formNoValidate

 

 

Show:
© 2016 Microsoft