How to implement client side phone validation
Recently on CiviCRM irc and forum few people asked about adding client side validation for phone field. By default CiviCRM packages validate plugin, so this can be easily implemented with minor customization. Below is the example of validating US phone number on new contact form.
I have tested this on CiviCRM v3.4 ( latest ). I hope this is helpful.