ZVON > References > VoiceXML Reference
Element:enumerate
Parents: | audio | block | catch | choice | div | emp | enumerate | error | field | filled | help | if | initial | menu | noinput | nomatch | object | prompt | pros | record | subdialog | transfer |
Children: | audio | break | div | emp | enumerate | pros | sayas | value |
Description:

Go to Standard

Examples:


<menu>
     <prompt>Welcome home. Say one of:
          <enumerate/>
     </prompt>
     <choice next="http://www.sports.example/vxml/start.vxml"> Sports </choice>
     <choice next="http://www.weather.example/intro.vxml"> Weather </choice>
     <choice next="http://www.stargazer.example/voice/astronews.vxml"> Stargazer astrophysics news </choice>
     <noinput>Please say one of
          <enumerate/>
     </noinput>
</menu>


<menu>
     <prompt>Welcome home. Say one of:
          <enumerate/>
     </prompt>
     <choice next="http://www.sports.example/vxml/start.vxml"> Sports </choice>
     <choice next="http://www.weather.example/intro.vxml"> Weather </choice>
     <choice next="http://www.stargazer.example/voice/astronews.vxml"> Stargazer astrophysics news </choice>
     <noinput>Please say one of
          <enumerate/>
     </noinput>
</menu>


<menu dtmf="true">
     <prompt> Welcome home.
          <enumerate> For
               <value expr="_prompt"/>, press
               <value expr="_dtmf"/>.
          </enumerate>
     </prompt>
     <choice next="http://www.sports.example/vxml/start.vxml"> sports </choice>
     <choice next="http://www.weather.example/intro.vxml"> weather </choice>
     <choice next="http://www.stargazer.example/voice/astronews.vxml"> Stargazer astrophysics news </choice>
</menu>


<form>
     <field name="maincourse">
          <prompt> Please select an entree. Today, we’re featuring
               <enumerate/>
          </prompt>
          <option dtmf="1" value="fish"> swordfish </option>
          <option dtmf="2" value="beef"> roast beef </option>
          <option dtmf="3" value="chicken"> frog legs </option>
          <filled>
               <submit next="/cgi-bin/maincourse.cgi" method="post" namelist="maincourse"/>
          </filled>
     </field>
</form>