Validation trouble

validation , visual basic , text boxes Cincinnati, United States
  • 9 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).


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.

“An idiot with a computer is a faster, better idiot” - Rich Julius