I would like to validate a Phone number like this, user is supposed to enter 123 456-7890. If they enter just numbers then it is supposed to accept only 7 digits in 456-7890 field, if they have "-" then it should accept 8 digits. How do I do this. Thanks for any help.