Merge branch 'ticket-13128-BEphone'

This commit is contained in:
Marion Muszynski 2017-04-25 15:24:17 +02:00
commit 434816c22c

View File

@ -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);
}
}