<?xml version="1.0" encoding="windows-1252"?>
<node id="991730" title="Re: HTML::Template with checkbox" created="2012-09-04 23:14:50" updated="2012-09-04 23:14:50">
<type id="11">
note</type>
<author id="693344">
rpnoble419</author>
<data>
<field name="doctext">
I agree with choroba, your issue is not a Perl one. I would add a value to each of your check boxes and use the file name, this way when you click on a check box, the file name will be the returned value. If you use a unique name for each check box then the files will be returned as individual parameters. If you use the same name then the file names will be returned using a single parameter. Use CGI.pm to sort out the parameters. If you go the same name route, CGI.pm will return all of the filenames in a single array....  

&lt;code&gt;
&lt;td&gt;&lt;input type="checkbox" name="field" &lt;TMPL_VAR NAME="check"&gt; value="&lt;TMPL_VAR NAME ="filename"&gt;"
&lt;/code&gt;</field>
<field name="root_node">
991701</field>
<field name="parent_node">
991701</field>
</data>
</node>
