Re: Limit menu input to a single digit?
Posted: Fri Mar 23, 2012 2:11 pm
Yes, you must specify in your grammar that you expect a one digit input. There are many ways to do this, but here an example:
You can find more info about grammars here: http://www.plumvoice.com/docs/dev/voicexml:tags:grammar
Code: Select all
<form id="my_form">
<field name="my_field" type="digits?length=1">
<prompt>
Your prompt here.
</prompt>
<filled>
One digit was entered.
</filled>
</field>
</form>