Platform SDK: Web Telephony Engine

FORM

<FORM
ACTION
=url
CLASS=classname
ENCTYPE=encoding
ID=value
LANGUAGE=JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
METHOD=GET | POST
NAME=name
STYLE=css1-properties
TARGET=window_name
    | _blank | _parent | _search | _self | _top
TITLE=text
event
= script
>

Serves as a menu owner of all the INPUT elements inside it.

Attributes

ACTION
Sets or retrieves the URL to which the FORM content is to be sent for processing.
CLASS= classname
Specifies the class of the element being defined. This is used to associate a subclassed style sheet with the element.
ENCTYPE
Sets or retrieves the MIME encoding for the form.
ID= value
An SGML ID used as the target for hypertext links or for naming particular elements in associated style sheets. Valid ID values must begin with a letter. The underscore ("_") can be used in the ID name. The ID should be unique throughout the document. If more than one object with the same ID exists in a document, a collection of those named items is created that can be referenced only by ordinal position.
LANGUAGE= JAVASCRIPT | JSCRIPT | VBS | VBSCRIPT
Specifies the language in which the current script is written and invokes the proper scripting engine. The default value is JAVASCRIPT.
Language Description
JAVASCRIPT, JSCRIPT The scripting language is written in JScript.
VBS, VBSCRIPT The scripting language is written in VBScript.

METHOD=GET | POST
Specifies how to send the form data to the server.
Value Meaning
GET Appends the arguments to the action URL and open it as if it were an anchor.
POST Sends the data through an HTTP post transaction.

NAME
Specifies the name of the form.
STYLE
Specifies an inline style sheet for the element.
TARGET=window_name
    | _blank | _parent | _search | _self | _top
Specifies the window or frame at which to target the contents. If no frame or window exists that matches the specified target, a new window is opened for the specified link. If no target is specified, the default is "_self" for a link within the same site or "_top" if the site is external. Special target values are listed here:
Value Meaning
_blank Specifies to load the link into a new unnamed window.
_parent Specifies to load the link into the immediate parent of the document containing the link.
_self Specifies to load the link into the same window in which the link was clicked.
_top Specifies to load the link into the full body of the current window.

TITLE
Advisory information (a ToolTip) for the <FORM>.
event
Can be one or more of these events:

onclick

onselectionerror

onselectiontimeout

Remarks

Internet Explorer constructs an HTTP request from all the information in the form. It then sends that request to the location specified in the ACTION attribute on the FORM element. A Web telephony application can send an HTTP request using elements in a form or using the same elements without a form. This is because, either way, the WTE renders each element sequentially, waiting for the caller's response before rendering the next element.

See Also

INPUT