summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xform.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/form.cgi b/form.cgi
index 09de324..f4b5f3a 100755
--- a/form.cgi
+++ b/form.cgi
@@ -22,11 +22,11 @@ my $form = CGI::FormBuilder->new(
method => 'POST',
fields => [qw/
kommentar
- postnummer
+ postnr
email
/],
validate => {
- postnummer => INT,
+ postnr => INT,
email => $valid_email,
_email => $valid_email, #fake check to silence warning of variable used only once
},