Merge branch 'ticket-12392-fixItalianNumber'
This commit is contained in:
commit
58ad31a40d
@ -1006,11 +1006,11 @@ $(document).ready(function () {
|
||||
if($('#sl-0-country').val() == 'ES'){
|
||||
if($('#custPhone').val().length == 9 && !(phone_mobile_without_zero.test($('#custPhone').val()))){
|
||||
ev.preventDefault();
|
||||
alert($('#error-mobile-invalid').val() + '\n\nFormat : 0610102031 ou 0034610102031');
|
||||
alert($('#error-mobile-invalid').val() + '\n\nFormat : 610102031 ou 0034610102031');
|
||||
return (false);
|
||||
}else if($('#custPhone').val().length > 9 && !(phone_mobile_es.test($('#custPhone').val()))) {
|
||||
ev.preventDefault();
|
||||
alert($('#error-mobile-invalid').val() + '\n\nFormat : 0610102031 ou 0034610102031');
|
||||
alert($('#error-mobile-invalid').val() + '\n\nFormat : 610102031 ou 0034610102031');
|
||||
return (false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user