I have jQuery Validation plugin on a page. When someone types the phone number into the form field, I want the validator to only recognize a certain format:
###-
Check out the jQuery Masked Input Plugin. It allows you to mask the input with something like this:
$("#phone_number").mask("999-999-9999");