I am using
Code: Select all
<field name="iCardNumber" type="digits?length=10">
Any help?
Code: Select all
<field name="iCardNumber" type="digits?length=10">
Code: Select all
<?php
header("Content-type: text/xml");
echo("<?xml version=\"1.0\"?>\n");
?>
<vxml version="2.0">
<property name="inputmodes" value="dtmf"/>
<property name="termmaxdigits" value="true"/>
<property name="interdigittimeout" value="5s"/>
<form>
<field name="myfield" type="digits?length=10">
<prompt>
Enter up to ten digits.
</prompt>
<filled>
<prompt bargein="false">
You entered <value expr="myfield"/>.
</prompt>
</filled>
<nomatch>
You did not enter enough digits.
<reprompt/>
</nomatch>
<noinput>
You did not enter anything.
<reprompt/>
</noinput>
</field>
</form>
</vxml>