Hello,
I have the following catch handlers defined in the root document for my application:
<catch event="nomatch">
<prompt>
<prosody rate="medium" volume="100">
Sorry, your selection was not a valid entry. Please try again.
</prosody>
</prompt>
<reprompt/>
</catch>
<catch event="nomatch" count="3">
<submit namelist="dnis ani session_id " next="/transfer/maxinvalid" method="get"/>
</catch>
These have been working fine in general.
Now I have a scenario where a form implements validation logic for one of the inputs and uses <throw event='nomatch'> if required. I see first root handler getting invoked, but not the second one (count=3), in spite of repeated consecutive throws. Is there a trick to getting this to work?
Thanks,
Ajay
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
throw does not cause count to increment for nomatch event
-
- Posts: 3
- Joined: Mon Oct 22, 2018 11:51 am
Re: throw does not cause count to increment for nomatch even
Hi Ajay,
We'd be happy to look into this for you.
If possible, please include the entire root document. This will provide context for our troubleshooting.
The third catch submits data to a web service. Are you sure you're getting a return value from that service? For debugging, I would suggest adding a simple <prompt> before the <submit> as an audio indicator whether or not the event is handled.
We'd be happy to look into this for you.
If possible, please include the entire root document. This will provide context for our troubleshooting.
The third catch submits data to a web service. Are you sure you're getting a return value from that service? For debugging, I would suggest adding a simple <prompt> before the <submit> as an audio indicator whether or not the event is handled.