formenctype

LANSA WAM

formenctype

Specifies the encoding type to use when sending the form. Only valid for type="submit". Normally you will not need to set this as the default type is fine for sending most forms to LANSA servers. If you are sending a form to a non-LANSA server then specific requirements of that server may require a different encoding type.

Default value

Blank - Use the value specified by the parent <form> element which, unless otherwise specified, will be a default of application/x-www-form-urlencoded.

Valid values

application/x-www-form-urlencoded

All characters are encoded before sent (spaces are converted to "+" symbols, and special characters are converted to ASCII HEX values).

multipart/form-data

No characters are encoded. This value is required when you are using forms that have a file upload control.

text/plain

Spaces are converted to "+" symbols, but no special characters are encoded.