Validation trouble

validation , visual basic , text boxes Cincinnati, United States
  • 12 years ago
    Ok I have a text box and have it being validated to make sure the number does not start with a zero and must be 8 characters long. The validation for that works but if someone enteres a space first it passes the validation. I am lloking for a way to have it catch that also. For it trulery is not 8 numbers long if it is with a space. Anyone have an idea on that validation? I also have the validator settign the focus on that text box when an error occurs.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“My definition of an expert in any field is a person who knows enough about what's really going on to be scared.” - P. J. Plauger