Question

5
Replies
1094
Views
David Haigh (DaveHaigh81)
Endsleigh
Robotics Process Analyst
Endsleigh
GB
DaveHaigh81 Member since 2016 8 posts
Endsleigh
Posted: November 30, 2016
Last activity: December 19, 2016
Posted: 30 Nov 2016 5:25 EST
Last activity: 19 Dec 2016 9:17 EST
Closed
Solved

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

Robotic Process Automation
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.