X-Git-Url: https://git.p6c8.net/form-email.git/blobdiff_plain/2ed757f514862fe67ac1c77af781b6bee3aeb388..6f125a20df39454f1f785075998d0c0751055ba5:/form-email/config.php diff --git a/form-email/config.php b/form-email/config.php index 7818660..fc01978 100644 --- a/form-email/config.php +++ b/form-email/config.php @@ -48,8 +48,8 @@ $text_max = 0; $user_fields['beruf']['min'] = 5; $user_fields['beruf']['max'] = 50; -$user_fields['beruf']['optional'] = 0; -$user_fields['beruf']['regex'] = '/^[A-Za-z]$/'; +$user_fields['beruf']['optional'] = 1; +$user_fields['beruf']['regex'] = '/^[A-Za-z]+$/'; $user_fields['beruf']['check'] = 'check_beruf'; $user_fields['beruf']['tpl_var'] = 'BERUF';