throw does not cause count to increment for nomatch event
Posted: Tue Aug 06, 2019 2:30 pm
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
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