Validate a US phone number from an optional input field – Jquery
I am using jQuery Validation Plugin to validate a phone number from an optional input field. Here is my form: <form id="input-form" action="" method="post"> <p> <label for="name">Name <span>(required, at least 3 characters)</span></label> <input id="name" name="name"> </p> <p> <label for="email">E-Mail <span>(required)</span></label>…