This commit is contained in:
Jos Poortvliet 2016-08-24 16:34:15 +02:00
Родитель 5d1eb918f6
Коммит 12580cfe0e
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -29,7 +29,7 @@ if(isset($_POST['email'])) {
if(!preg_match($string_exp,$yourname)) {
$error_message .= 'The name you entered does not appear to be valid.<br />';
}
$string_exp = "/^((\+|00)\d{1,3})?\d+$/";
$string_exp = "/^((\+|00)\d{1,3})?(\d+|\s+)+\d$/";
if(!preg_match($string_exp,$phone)) {
$error_message .= 'The phone number you entered does not appear to be valid, did you add a country code like +49?<br />';
}

Просмотреть файл

@ -45,7 +45,7 @@ if(isset($_POST['email'])) {
if(!preg_match($string_exp,$organization)) {
$error_message .= 'The organization you entered does not appear to be valid.<br />';
}
$string_exp = "/^((\+|00)\d{1,3})?\d+$/";
$string_exp = "/^((\+|00)\d{1,3})?(\d+|\s+)+\d$/";
if(!preg_match($string_exp,$phone)) {
$error_message .= 'The phone number you entered does not appear to be valid, did you add a country code like +49?<br />';
}

Просмотреть файл

@ -29,7 +29,7 @@ if(isset($_POST['email'])) {
if(!preg_match($string_exp,$yourname)) {
$error_message .= 'The name you entered does not appear to be valid.<br />';
}
$string_exp = "/^((\+|00)\d{1,3})?\d+$/";
$string_exp = "/^((\+|00)\d{1,3})?(\d+|\s+)+\d$/";
if(!preg_match($string_exp,$phone)) {
$error_message .= 'The phone number you entered does not appear to be valid, did you add a country code like +49?<br />';
}

Просмотреть файл

@ -29,7 +29,7 @@ if(isset($_POST['email'])) {
if(!preg_match($string_exp,$yourname)) {
$error_message .= 'The name you entered does not appear to be valid.<br />';
}
$string_exp = "/^((\+|00)\d{1,3})?\d+$/";
$string_exp = "/^((\+|00)\d{1,3})?(\d+|\s+)+\d$/";
if(!preg_match($string_exp,$phone)) {
$error_message .= 'The phone number you entered does not appear to be valid, did you add a country code like +49?<br />';
}