From acfe5e489a86d8162784d8c03cabfcf8a5f73e27 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 26 Feb 2015 18:37:43 +0100 Subject: Explicitly require comment (thereby not implicitly requiring email or zip). --- form.cgi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/form.cgi b/form.cgi index f4b5f3a..4e20c39 100755 --- a/form.cgi +++ b/form.cgi @@ -30,9 +30,9 @@ my $form = CGI::FormBuilder->new( email => $valid_email, _email => $valid_email, #fake check to silence warning of variable used only once }, -# required => [qw/ -# email -# /], + required => [qw/ + kommentar + /], messages => ':da_DK', submit => ['Send oplysningerne'], action => $webroot, #avoids loosing submitted values when redirected from other site -- cgit v1.2.3