Description
Replays previously played prompt. Normally the interpreter
suppresses playing of prompts on the next form item after
executing a <catch> element. However, if a <reprompt>
is executed in the catch, the interpreter will perform normal
prompt processing for the next form item (which includes
selection of a prompt and incrementing the prompt counter).
Syntax
<reprompt/> |
Parents
<block>, <catch>, <error>, <filled>, <foreach>, <help>, <if>, <noinput>, <nomatch>
Children
None.
Extensions
None.
Limitations/Restrictions
<reprompt> cannot be used as a child of <foreach>
when <foreach> is a child of <prompt>.
Example
<?xml version="1.0"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<property name="universals" value="help"/>
<form>
<field name="field1" type="boolean">
<help>
Please say yes or no.
<reprompt/>
</help>
<prompt> Is that correct? </prompt>
<filled>
You said <value expr="field1"/>.
</filled>
</field>
</form>
</vxml> |