summaryrefslogtreecommitdiff
path: root/kontakt.cgi
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-03-28 16:18:41 +0100
committerJonas Smedegaard <dr@jones.dk>2024-03-28 16:18:41 +0100
commiteab3ce492a8e371a9a51aa512d95dcbd9ff0fddd (patch)
tree7e30a0d2095dc1db916ef8a04f8aa54e0476b0f9 /kontakt.cgi
parenta01ba45e354eb0a25319d41f4e215de557f4691f (diff)
revert to validate field postnr
Diffstat (limited to 'kontakt.cgi')
-rwxr-xr-xkontakt.cgi2
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',