mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user