diff options
Diffstat (limited to 'kontakt.cgi')
-rwxr-xr-x | kontakt.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kontakt.cgi b/kontakt.cgi index 694aabe..8a461fb 100755 --- a/kontakt.cgi +++ b/kontakt.cgi @@ -34,7 +34,7 @@ my $form = CGI::FormBuilder->new( kommentar /], validate => { - postnr => '/^([Dd][Kk])?.?[0-9-]{4}$/', + postnr => 'INT', #email => 'MAIL', # Built-in email validation is too simplistic email => '/^[+_A-Za-z0-9-]+(\.[+_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[_A-Za-z0-9-]+)$/', antal => 'INT', |