From a01ba45e354eb0a25319d41f4e215de557f4691f Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 28 Mar 2024 16:17:28 +0100 Subject: avoid validating field postnr (maybe cause for lack of Javascript error popup?) --- kontakt.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kontakt.cgi') diff --git a/kontakt.cgi b/kontakt.cgi index 694aabe..a8b81a8 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