Icon THTMLFormEncoding

Unit: WebUI

THTMLFormEncoding = (feMultiPartFormData,feURLEncoded,
      feTextPlain)

Available In: Client Applications

The THTMLFormEncoding enumerated type is used with the THTMLForm and TFormElement classes to specify the type of encoding to use for any form values when the HTML form is submitted to the web server.

ElementDescription
feMultiPartFormDataSpecifies that the form should encode the form values using the multipart/form-data MIME type. This is the default type of encoding, and should always be used when uploading files in addition to text values.
feTextPlainSpecifies that the form should encode the form values using the text/plain MIME type. The only encoding that will take place is that spaces will be converted into "+" characters.
feURLEncodedSpecifies that the form should encode the form values using the application/x-www-form-urlencoded MIME type. This encoding will cause spaces to be converted into "+" characters and any special characters to be converted into ASCII hex values prefixed with the "%" character.
Image