I need to validate a phone number in javascript. The requirements are:
they should be 10 digits, no comma, no dashes, just the numbers, and not the
Fixed function:
function validateForm(thisform) { if (validatePhone(thisform.phone,"Invalid phone number")==false) { thisform.phone.focus(); return false; } return true; }