FormType Property  
 

Gets and sets the type of form data encoding used to submit the form data.

Syntax

object.FormType [= value ]

Remarks

The FormType property is used to specify how form data will be encoded when it is submitted to the server using the SubmitForm method. It may be one of the following values:

Value Constant Description
1 httpFormEncoded The form data should be submitted as URL encoded values. This is typically used when the GET method is used to submit the data to the server.
2 httpFormMultipart The form data should be submitted as multipart form data. This is typically used when the POST method is used to submit a file to the server. Note that the script must understand how to process multipart form data if this form type is specified.

Data Type

Integer (Int32)

See Also

FormAction Property, FormMethod Property, CreateForm Method, SubmitForm Method