WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
if ($field != 'cust_tax_no' && $field != 'cust_phone' && (strpos($field, 'company') === false)) {
/*if (strpos($field, 'phone') !== false) { if (!preg_match('#^[0-9)(xX +.-]{7,20}$#', $value)) { $error_bg[] = $field; $errors[] = htmlspecialchars($value, ENT_QUOTES).' '.$MOD_BAKERY['ERR_INVAL_PHONE']; } }*/
if ($field != 'cust_tax_no' && (strpos($field, 'company') === false)) {
if ($field != 'cust_tax_no' && $field != 'zip' && (strpos($field, 'company') === false)) {
/*if (strpos($field, 'zip') !== false) { if (!preg_match('#^[A-Za-z0-9\s\-]{4,10}$#u', $value)) { $error_bg[] = $field; $errors[] = htmlspecialchars($value, ENT_QUOTES).' '.$MOD_BAKERY['ERR_INVAL_ZIP']; } }*/
if ($field != 'cust_tax_no' && (strpos($field, 'company') === false) && (strpos($field, 'postcode') === false)) {