Need to take the values from slected checkboxes an place into an input file, separated by commas
<p>I'm trying to take a series of selected checkboxes and create a comma separated list inside an input field. This is a bit beyond my jQuery skills.</p>

<p>Here is a sample of the HTML:</p>

<pre><code>&lt;input type="checkbox" value="Bill" id="CAT_Custom_173676_0" name="CAT_Custom_173676" /&gt;Bill&lt;br /&gt;
&lt;input type="checkbox" value="Dan" id="CAT_Custom_173676_1" name="CAT_Custom_173676" /&gt;Dan&lt;br /&gt;
&lt;input type="checkbox" value="Francis" id="CAT_Custom_173676_2" name="CAT_Custom_173676" /&gt;Francis&lt;br /&gt;
</code></pre>

<p>I need to take the values from these checkboxes and insert them into this field</p>

<pre><code>&lt;input type="text" class="cat_textbox" id="CAT_Custom_172786" name="CAT_Custom_172786" maxlength="1024"  /&gt;
</code></pre>

<p>So, if all the checkboxes above are checked, the value of the input field would be "Bill,Dan,Francis".</p>

<p>This event can happen when the form is submitted. </p>

<p>Any help would be appreciated.</p>
