Click here to Skip to main content
14,878,179 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I want to apply validation on textbox that accepts only alpha numeric characters if the user enters only characters or only numbers or any special characters then error message should be displayed that only alphanumeric characters are allowed. and the password lengh should be minimum 6 charactes and maximum lenghth is 10characters if the user enters characters less than 6characters or greater than 10 characters then error message diaplay password length must be atleast 6 characters and not beyaond 10 characters.plzzzz
give me code for this as soon as possible..thank you!!
Sergio Walter Ruz 21-Feb-15 5:01am
Hi What kind of application are you writing? Is it a windows, web, WPFapp?
"Only accepts" does not mean "validation". Filtering input is one thing, validation is another one, you can combine it. Please read help on the UI library you use; you did not share with us what is that.
Kuthuparakkal 21-Feb-15 16:01pm

1 solution

It doesn't quite work like that.
We do not do your work for you.
If you want someone to write your code, you have to pay - I suggest you go to and ask there.

But be aware: you get what you pay for. Pay peanuts, get monkeys.
Kuthuparakkal 21-Feb-15 16:00pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900