cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
768
Views
4
Helpful
4
Replies

digit counter

aelee1
Level 1
Level 1

Is there a way to count digits entered by the get digit string to verify the correct number entered?

1 Accepted Solution

Accepted Solutions

Nathan Luk
Level 1
Level 1

Hi aelee1,

You talking about UCCX / IP IVR? If so then you can take the input and just use a .length() method on it and assign it to a variable or something.

ie

inputlength_variable = input_variable.length()

For CVP if you use a GD microapp you can then just do a len(Call.CallerEnteredDigits) immediately after the CED block and do whatever you want to it.

Cheers,

Nathan

View solution in original post

4 Replies 4

shaheeramunir
Level 4
Level 4

If you are talking about Microapp "GD" then the maximum or minimum expected digits condition is added in the "Configuration param" parameter in Network VRU Script List.

Nathan Luk
Level 1
Level 1

Hi aelee1,

You talking about UCCX / IP IVR? If so then you can take the input and just use a .length() method on it and assign it to a variable or something.

ie

inputlength_variable = input_variable.length()

For CVP if you use a GD microapp you can then just do a len(Call.CallerEnteredDigits) immediately after the CED block and do whatever you want to it.

Cheers,

Nathan

Nathan:

That was just what I was looking for.

Thanks for the Help

Art

Please remember to specify UCCX or UCCE in your questions. If UCCE, please specify IPIVR or CVP.

I'm not aiming this at you Art, but just taking this opportunity to reiterate this very basic point, since others will read this thread. Some put the platform in the subject line, making it much clearer - a good idea.  This is a huge timesaver for those who respond.

The better the question, the better (and faster) the assistance.

Thanks for your indulgence.

Regards,

Geoff

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: