I use HTML::Template to display a list of files with the checkbox next to it. Here is a snip of the html template.
<tr id="TMPL_VAR ID>">
<td><TMPL_VAR NAME ="index"></td>
<td><TMPL_VAR NAME ="filename"> </td>
<td><input type="checkbox" name="field" <TMPL_VAR NAME="check">>
<form action="index.cgi" method="post">
<input type="submit" name="Edown" value=" Download ">
<input type="hidden" name="cmd" value="download">
In my cgi script, I was able to display the output I wanted using print $template->output. Now I am unable to obtain the checkbox values along with the respective filenames when user check the boxes and select download button. I'd like to get a list of filenames that were checked.
I tried q->param("field") does not seem working at all.