diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-03-28 16:17:28 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-03-28 16:17:28 +0100 |
commit | a01ba45e354eb0a25319d41f4e215de557f4691f (patch) | |
tree | 83fd673ff98007454079a952d66c21e340f532c0 /kontakt.cgi | |
parent | a6b159e90ac0baf841eba07381fed54e3489cfdd (diff) |
avoid validating field postnr (maybe cause for lack of Javascript error popup?)
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 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', |