Platform SDK: Web Telephony Engine |
<INPUT
ACCESSKEY=key
CLASS=classname
DISABLED
ID=value
MAXLENGTH=n
READONLY
STYLE=css1-properties
TYPE=BUTTON | CHECKBOX | FILE | HIDDEN | IMAGE | PASSWORD | RADIO | RESET | SUBMIT | TEXT
VALUE=value
VOICEFILE=url
GRAMMAR=url | strings
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
event = script
>
Specifies a form input control.
Type | Description |
---|---|
button | Inside a form, it is rendered as a form button. Otherwise rendered as a stand-alone button. |
Checkbox | Used for Boolean menus. Rendered as a menu with two available through the SelectCheckBoxKey and ClearCheckBoxKey properties. |
File | Breaks any menu, like a disabled control. |
Hidden | This element is ignored . |
image | Rendered as a form button. |
Password | The same as the TEXT input type. |
Radio | Rendered as a menu, with all radio elements with the same name and scope (inside or outside a FORM). Radio elements are rendered as menu items in the order they appear in the page, regardless of the first radio element actually found. Disabled radio elements are not rendered. Radio elements belonging to the current element group are not rendered again while the WTE is in their scope. That is, radio elements outside a form are not rendered again while in the same page, and radio elements inside a form are not rendered again unless the form is exited and re-entered, or the reset button is pressed. Outside a form, radio buttons are rendered whenever the Internet Explorer Reload or Refresh methods are invoked. Inside a form, re-rendering takes place just as it does during normal navigation, and is determined by the site whose URL is shown in the Internet Explorer Address list. |
Reset | Rendered as a form button. If it is clicked when the cursor is inside a form, radio menus inside this form are re-rendered again whenever the WTE meets a radio element with a name that has already been rendered. Using OnReset = "return false;" to cancel the default behavior has no effect on the WTE. |
Submit | Rendered as a form button. |
Text | Used for a single-line text-entry field. All DTMF until the termination string or MAXLENGTH digits are entered as its value. |
If the value of the TYPE attribute is not text, the GRAMMAR attribute specifies a set of alternative words or phrases for the menu item. The caller can select the menu item by speaking any word or phrase in the set. This attribute is ignored if SR is not enabled.
Language | Description |
---|---|
JAVASCRIPT, JSCRIPT | The scripting language is written in JScript. |
VBS, VBSCRIPT | The scripting language is written in VBScript. |
All form buttons (BUTTON, SUBMIT, RESET and IMAGE) are rendered alike—as menu items inside a form and as stand-alone buttons outside a form. Their impact on the document is not changed. A form button always breaks a non-form button menu, and no other menu items can join a form-button menu. If a form-button menu contains only a single item, the WTE will select it without offering it to the caller.
Any control that is not a form button will break any menu, even if it is disabled or read-only.