note
Corion
<p>In what way does it fail to work?</p>
<p>Please reduce one of your scripts to a small, self-contained script that exhibits the problem.</p>
<p>How do you fill <c>%Form</c>?</p>
<p>I would double check that the name of the hidden field ("<c>hiddenfield</c>") is actually the same between the HTML page submitting to the script and the script.</p>
<p>Assuming a standard CGI setup, the following could work, if your scripts use [mod://CGI].pm (and if they don't, you should start rewriting them to use CGI).</p>
<c>
#!perl -w
use strict;
use CGI;
my $q = CGI->new();
print $q->header();
if ($q->param('hiddenfield') eq '') {
print "<h1>Hidden field was not set</h1>";
} else {
print "<h1>Hidden field was sent</h1>";
};
</c>
871935
871935