Merge branch 'ticket-13128-BEphone'
This commit is contained in:
commit
434816c22c
@ -994,11 +994,11 @@ $(document).ready(function () {
|
||||
if($('#sl-0-country').val() == 'BE'){
|
||||
if($('#custPhone').val().length == 9 && !(phone_mobile_without_zero_be.test($('#custPhone').val()))){
|
||||
ev.preventDefault();
|
||||
alert($('#error-mobile-invalid').val() + '\n\nFormat : 0461010203 ou 0032461010203');
|
||||
alert($('#error-mobile-invalid').val() + '\n\nFormat : 0460110203 ou 0032460110203');
|
||||
return (false);
|
||||
}else if($('#custPhone').val().length > 9 && !(phone_mobile_be.test($('#custPhone').val()))) {
|
||||
ev.preventDefault();
|
||||
alert($('#error-mobile-invalid').val() + '\n\nFormat : 0461010203 ou 0032461010203');
|
||||
alert($('#error-mobile-invalid').val() + '\n\nFormat : 0460110203 ou 0032460110203');
|
||||
return (false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user