encoding Property

Microsoft FrontPage Visual Basic

encoding Property

Returns or sets a String that represents the MIME encoding for a FORM element. Corresponds to the enctype attribute.

expression.encoding

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

The following example sets the enctype attribute of the first form in the active document to the default MIME encoding type for a form.

    Dim objForm As FPHTMLFormElement

Set objForm = ActiveDocument.forms.Item(0)
objForm.encoding = "application/x-www-form-urlencoded"