Validate SSN data for all zeros or ones in text box
Posted on 2008-10-09
Hi, I'm trying to figure out how to validate data that users enter into input fields on a web form. Basically, the users would be entering SSN# into the system but the system should prevent them from entering all zeros or any of the same digits or sequential numbers. For example, the system should validate if the users enter data as one of the following:
Please let me know if you can think of an efficient way of handling all these permutations.
Thanks a lot for your time and assistance.