I want to prevent a user from entering in all of the same number. Example the user enters in all 2, IE: 22222222222
I want to display a msg.

How can I prevent the user from entering in all of the same numbers?

Note the user can enter in the same number more than once but the value in the txt box cannot contain only that one number