diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-03-28 16:18:41 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-03-28 16:18:41 +0100 |
commit | eab3ce492a8e371a9a51aa512d95dcbd9ff0fddd (patch) | |
tree | 7e30a0d2095dc1db916ef8a04f8aa54e0476b0f9 /kontakt.cgi | |
parent | a01ba45e354eb0a25319d41f4e215de557f4691f (diff) |
revert to validate field postnr
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 a8b81a8..694aabe 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 => '/^([Dd][Kk])?.?[0-9-]{4}$/', #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', |