diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-02-26 18:37:43 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-02-26 18:37:43 +0100 |
commit | acfe5e489a86d8162784d8c03cabfcf8a5f73e27 (patch) | |
tree | 6d87991a9a146e325506d20e20d2c1f4e7ee81b8 | |
parent | 638a83845c0479a93525620855f94b5178a87677 (diff) |
Explicitly require comment (thereby not implicitly requiring email or zip).
-rwxr-xr-x | form.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |