3.8 Form Collection

Retrieves the values of form elements posted to the HTTP request body by a form using the Post method.

3.8.1 Count property

Returns the total number of Variable objects in the Form collection.

Syntax

Object.Count

Type

Long.

Attributes

Read-only.

3.8.2 HasMoreElements property

Determines whether the Form collection contains more Variable objects.

Syntax

Object.HasMoreElements

Type

Boolean.

Attributes

Read-only.

3.8.3 Element method

Retrieves the Variable object specified by the Key parameter.

Syntax

Object.Element(
   Key As AnyType)

Parameters

Key

String/Integer. String value represents the name of the variable and the integer represents the index of the variable.

Return Values

Variable object.

3.8.4 Item method

Retrieves the Variable object specified by the Key parameter.

Syntax

Object.Item(
   Key As AnyType)

Parameters

Key

String/Integer. String that corresponds to the name of a variable and integer that represents a variable's index.

Return Values

Variable object.

3.8.5 Next method

Retrieves the next Variable object in the collection.

Syntax

object.Next()

Parameters

None.

Return Values

Variable object.

3.8.6 Reset method

Resets the current Variable object.

Syntax

object.Reset()

Parameters

None.

Return Values

Void.