Hello, anyone has an example on how would you verify that a phone number requested (US Number) is entered correctly?
so far we ask for a 10 digit number then we take it thru 3 gotoif to verify it:
1- $”{$LEN({NewWirelessNo:0:1})}” = “10”
2- $”${NewWirelessNo:0:1}” != “0”
3- $”${NewWirelessNo:0:1}” != “1”
if any of those fails we ask again for the number
the problem is that it is endless, i would like something that times out after 3 tries and the validation is quite basic.
any recomendations would be highly apreciated.
thank you in advance.
cesar