OK - 'main' contains the form which calls 'second'
main:
use CGI;
$query = new CGI;
print $query->start_multipart_form("POST","second");
print $query->checkbox_group(-name=>'FieldNames',
-value=>[ @array ]);
$query->param( -name=>'Tbl1',
-value=>'tabname';
print $query->submit('doWhat','Print Fields');
print $query->end_form;
second:
use CGI;
$query = new CGI;
$SFields = join(", ",$query->param('FieldNames'));
$STab = $query->param('Tbl1');
The result is:
$SFields = Date, Forename, Middle, School
$STab = Nothing?????
AM |