Question
Endsleigh
GB
Last activity: 19 Dec 2016 9:17 EST
Limiting Text Box Inpu t
Hi,
I have a TextBox where I am asking a user to input a telephone number. Can anyone help with how I would go about limiting the input to only being 0-9 + ( ) as they are typing, if this is possible?
So far I have used the TextChanged and KeyUp/down events leading into a Regex Match rule and then showing an error if anything other than the stupulated is entered. Issue with this is that when a user can still input anything in the box.
Thanks