Question

5
Replies
1025
Views
DaveHaigh81 Member since 2016 8 posts
Endsleigh
Posted: 3 years ago
Last activity: 3 years 9 months ago
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
Share this page LinkedIn