06-30-2021 08:22 AM
New to Call Studio so forgive the (what is hopefully a newbie) question.
I have a Voice Element collecting digits, prompting caller for an 8 digit DOB. I have the element set to dtmf, with a min digits of 8 as well as a max digits of 8.
When I test and enter less than 8 digits, i get the nomatch treatment correctly.
However when i enter 10 digits, the element just truncates the extra digits and flows out the done node.
I need the app to reject more than 8 digits and follow the same nomatch treatment. How do I do this?
Thanks in advance!!
Solved! Go to Solution.
06-30-2021 08:42 AM
The element is acting as designed and this is the correct behaviour for VXML.
You get a match after 8 digits entered.
It no longer waits or expects a termination key (#).
What I do if there is a digits collection where users are entering more than the expected number of digits is play an audio file straight after it the match such as "Thank you".
Example:
"Please enter your 8 digit account number"
<caller attempts to enter 10 digits, but as soon as 8 is entered - the IVR plays>
"Thank you".
So the user gets some feedback that the 9th and10th digits entered are not valid.
You could / should give some extra info in the audio file for the caller
e.g. "Please enter your account number, your account number is between 6 to 8 digits long".
Regards,
Gerry
06-30-2021 08:42 AM
The element is acting as designed and this is the correct behaviour for VXML.
You get a match after 8 digits entered.
It no longer waits or expects a termination key (#).
What I do if there is a digits collection where users are entering more than the expected number of digits is play an audio file straight after it the match such as "Thank you".
Example:
"Please enter your 8 digit account number"
<caller attempts to enter 10 digits, but as soon as 8 is entered - the IVR plays>
"Thank you".
So the user gets some feedback that the 9th and10th digits entered are not valid.
You could / should give some extra info in the audio file for the caller
e.g. "Please enter your account number, your account number is between 6 to 8 digits long".
Regards,
Gerry
06-30-2021 08:54 AM
Thanks for that information Gerry. Based on the logs, that seemed like what it was doing. I have a requirement to only accept 8, so i will add some custom logic to check the length of the entry and re-prompt there. Appreciate the help!!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide