Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
formEnctype
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft