problem with long number input in <field>
Posted: Thu Jun 08, 2006 3:12 pm
I am trying to accept a credit card number into a <field> tag in the following code snipit:
=========================================
<field name="cardNumber" type="digits?length=19" modal="true">
<prompt>
Please enter your nineteen digit Fuel Links card number.
</prompt>
<filled>
<prompt>
You entered
<say-as type="acronym">
<value expr="cardNumber"/>
</say-as>
</prompt>
</filled>
<noinput>
I'm sorry, I did not hear you...
<clear namelist="cardNumber"/>
</noinput>
</field>
============================================
When I try to put the number in via the touch-tone phone, it fails about midway through the 19 digits and hangs up. I know it will hang up if it doesn't have a catchall, but I don't get either of the prompt messages.
I added the modal option on the <field> tag to try to prevent any other interpretations.
I checked the log and it appears to be treating each dtmf key pressed as a completed entry and causing a <nomatch>.
What do I need to do to force the interpreter to wait for all 19 digits?
=========================================
<field name="cardNumber" type="digits?length=19" modal="true">
<prompt>
Please enter your nineteen digit Fuel Links card number.
</prompt>
<filled>
<prompt>
You entered
<say-as type="acronym">
<value expr="cardNumber"/>
</say-as>
</prompt>
</filled>
<noinput>
I'm sorry, I did not hear you...
<clear namelist="cardNumber"/>
</noinput>
</field>
============================================
When I try to put the number in via the touch-tone phone, it fails about midway through the 19 digits and hangs up. I know it will hang up if it doesn't have a catchall, but I don't get either of the prompt messages.
I added the modal option on the <field> tag to try to prevent any other interpretations.
I checked the log and it appears to be treating each dtmf key pressed as a completed entry and causing a <nomatch>.
What do I need to do to force the interpreter to wait for all 19 digits?