termchar
termchar
Example
<?xml version="1.0"?>
<vxml version="2.0">
<form>
<property name="termtimeout" value="7s"/>
<property name="termchar" value="*"/>
<field name="myfield">
<grammar type="application/x-jsgf" mode="dtmf">
( 1 | 2 )+
</grammar>
<prompt>
Enter any number of the digits one or two. You may press the star key to indicate when you've finished.
</prompt>
<filled>
You entered <value expr="myfield"/>.
</filled>
<nomatch>
You entered a number that does not match one or two.
<reprompt/>
</nomatch>
<noinput>
You did not enter anything.
<reprompt/>
</noinput>
</field>
</form>
</vxml>Explanation
Notes
Last updated