summaryrefslogtreecommitdiff
path: root/kontakt.cgi
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-03-28 16:17:28 +0100
committerJonas Smedegaard <dr@jones.dk>2024-03-28 16:17:28 +0100
commita01ba45e354eb0a25319d41f4e215de557f4691f (patch)
tree83fd673ff98007454079a952d66c21e340f532c0 /kontakt.cgi
parenta6b159e90ac0baf841eba07381fed54e3489cfdd (diff)
avoid validating field postnr (maybe cause for lack of Javascript error popup?)
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 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',