Takes any answer?
Posted: Tue Jul 24, 2012 7:54 pm
Hi,
I am trying to set up a simple pin number authentication. And I have the following code
But it seems to take any answer and not just my pin. Any idea what I might be doing wrong?
Thanks!
I am trying to set up a simple pin number authentication. And I have the following code
Code: Select all
<vxml version="2.0">
<form id="getpin">
<field name="pinnumber" type="digits">
<grammar type="application/x-jsgf" mode="voice">
8210
</grammar>
<prompt>
Please say your login code.
</prompt>
<filled>
<assign name="UserID" expr="'2'"/>
<submit next="menu.jsp" namelist="UserID"/>
</filled>
<nomatch>
You have entered an invalid pin. Try again.
<reprompt/>
</nomatch>
</field>
</form>
</vxml>
Thanks!