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

Collect Digits

jamjam200
Level 1
Level 1

I have a menu step where there user can enter up to a two digit number. If the user only enters a 1 digit number then after the time out no digits are collected. I can see that if the user enters 1 digit then hash it works ok, is there a way to allow for up to two digits but if 1 is entered then that will still be collected with out having to press hash?

1 Reply 1

k6lw
Level 4
Level 4

If you are using a GET DIGIT STRING step,

the timeout tab will have the digit entered in the variable you set for capture. e.g.

GDS result num_Request

in the timeout branch the variable num_Request will contain the single digit the caller entered.

Therefore you have two checks. In the Successful branch to see what the number is in the num_Request variable, and use the same check in the timeout field.

Lee