<clear>
<clear>
Attributes
Name
Data type
Description
String
Notes
Example
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<field name="myprompt" type="digits">
<prompt>
Say the magic number between 1 and 9.
</prompt>
<filled>
<if cond="myprompt==5">
<prompt>
You guessed correctly!
</prompt>
<elseif cond="myprompt==4 || myprompt==6"/>
<prompt>
You're close. Try again.
</prompt>
<!-- If we were not to clear the "myprompt" -->
<!-- variable, the dialog would simply -->
<!-- finish. Instead, we force another -->
<!-- attempt to fill the field. -->
<clear namelist="myprompt"/>
<else/>
<prompt>
Try again.
</prompt>
<clear namelist="myprompt"/>
</if>
</filled>
</field>
</form>
</vxml>Child Tags
Parent Tags
Last updated