TEXTAREA
<TEXTAREA
CLASS=classname
DISABLED
NAME=name
READONLY
STYLE=css1-properties
VOICEFILE=url
GRAMMAR=url
LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT | VBS
event = script
>
Records spoken input from the caller if the VOICEFILE attribute is specified. If not, this element collects DTMF digits and is similar to the INPUT element.
Attributes
- CLASS= classname
- Specifies the class of the element being defined. This is used to associate a subclassed style sheet with the element.
- DISABLED
- Used to disable an element. Does not affect whether the control breaks or begins a menu.
- 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.
- NAME= name
- Specifies the name of the control, bookmark, or applet.
- READONLY
- Causes the element's contents to be read-only. This attribute affects the control in the same way as the DISABLE attribute.
- STYLE= css1-properties
- Specifies an inline style sheet for the element.
- VOICEFILE= url
- Specifies the destination file of the recording if present. The file is recorded in a format of 8Khz 16Bit Mono. If not specified the control is rendered the same as INPUT text does. If the path to the file is in HTTP or HTTPS, the file is uploaded to the server and saved there in the specified location. The virtual directory in the server must have "write" permission. Upload functionality requires the WININET.DLL version to be at least 5.622.
- GRAMMAR= url
- Specifies the grammar (.cfg) file, in SAPI format, that provides a hint to the engine about what the caller is expected to say. The grammar file replaces the default grammar file that the SR engine uses in dictation. The default grammar file does not provide any hint to the engine. Use the format "url(filename.cfg)" to specify the .cfg file. Note that the WTE requires a grammar file to be in Unicode format. For the complete syntax of .cfg files, see the SAPI 4.0a documentation.
- 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. |
- event
- Can be one or more of these events:
onchange
onselectiontimeout
Remarks
Both the start and end tags are required.