I have simple form in which user input values
Requirement : I dont want to allow the user to input the following values in a field
colon, hyphen
I also want to disallow values greater than 12 digits ...
I want error in these cases ..how can I acheive that?