|
Newsletters
|
|
|
|
|
Voice XML Reference
Voice XML Reference
Bookmark this page
The reprompt Element - <reprompt>
Description: The FIA assumes that when a catch element is executed, it has queued appropriate prompts.
Therefore the FIA normally suppresses playing of prompts on the iteration of the FIA following
the execution of a catch element. However, if a <reprompt> is executed in the catch, this tells
the FIA that when it selects the next form item to visit, it should do the normal prompt
processing (which includes selection of a prompt and incrementing the prompt counter).
Example:
<field name="want_ice_cream" type="boolean">
<prompt>Do you want ice cream for dessert?</prompt>
<prompt count="2">
If you want ice cream, say yes.
If you don’t want ice cream, say no.
</prompt>
<noinput>
I could not hear you.
<reprompt/> <!-- Cause the next prompt to be selected and played. -->
</noinput>
</field>
Back to Tag Listing
|
|