GetVocal Voice Portal Technologies

[1.0 to 2.0][Tags][Attributes][Variables][Events][Properties]

VoiceXML Tag
 <enumerate>

Prompt for options or choices.

Parent Tags
<audio> <block> <catch> <choice> <emphasis> <enumerate> <error> <field> <filled> <help> <if> <initial> <menu> <noinput> <nomatch> <object> <p> <paragraph> <prompt> <prosody> <record> <s> <sentence> <subdialog> <transfer> <voice>

Content Syntax
The value may be empty, or may contain one or more elements, where an element is either parsed text or one of the following tags.

<audio> <break> <emphasis> <enumerate> <mark> <p> <paragraph> <phoneme> <prosody> <s> <say-as> <sentence> <value> <voice>

Attributes
This tag has no attributes.

Compatibility
VoiceXML 1.0 Yes, 2.0 Yes.

Description
This tag automatically generates a prompt describing menu selections (see the <choice> tag) or field options (see the <option> tag).

The contents of <enumerate> is a prompt which is executed as if it were enclosed within a <prompt> tag. This prompt is repeated once for each choice or option in the order they are written within the menu or field. Two special variables are available: _prompt, which is replaced by the value of the <choice> or <option> tag, and _dtmf, which is replaced by the touch-tone digit which was assigned to that choice or option. To include _prompt or _dtmf in the prompt, use a <value> tag. If the <enumerate> tag is empty, the browser constructs a default template for the prompt. This default is not defined by the VoiceXML language, it is browser-dependent.

©  GetVocal, inc. All Rights Reserved.