That worked, thanks. I have a follow-up question:
In the 'multipart_form' I set a param 'TblMenu' to $STable, but when I call it from another Perl script it doesn't recognise it.
$STable = 'tab001';
-value=>[ @array ]);
print $query->submit('doWhat','Print Fields');
$SFields = join(", ",$query->param('FieldNames'));
$STab = $query->param('TblMenu');
$SFields returns the selected checkboxes
$STab returns nothing.
I feel like there should be something like
$STab = $query->param('FieldNames.TblMenu');
but I don't know what it is?