Prevents new contact_ids from being continuously created.

1). There must be at least a full_name.
2). Because of error validation that includes other required fields, too.
This commit is contained in:
Jonathan Rosenbaum
2015-02-11 05:22:18 +00:00
parent 7b64d0c494
commit 2869299725
3 changed files with 43 additions and 15 deletions
-1
View File
@@ -82,7 +82,6 @@ $(function(){
function phone_validator(val, e) {
var re = /^\(\d{3}\)\s?\d{3}-\d{4}$/;
if ( !re.test(val) ) {
console.log("hello");
error_handler(false, phone_error, false,"*Enter a correct phone number",e);
}
}