From eab3ce492a8e371a9a51aa512d95dcbd9ff0fddd Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 28 Mar 2024 16:18:41 +0100 Subject: revert to validate field postnr --- kontakt.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kontakt.cgi') 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', -- cgit v1.2.3