title: value in hidden field in form without generating action
body: <p>Was wondering if anyone could help me with this problem :</p>
  
  <p>If I have three checkboxes with different values on a form like :</p>
  
  <pre><code>&lt;input type="checkbox" name="checkbox" value="1stValue"&gt;
  &lt;input type="checkbox" name="checkbox" value="2ndValue"&gt;
  &lt;input type="checkbox" name="checkbox" value="3rdValue"&gt;
  </code></pre>
  
  <p>And I needed to submit that form so that the values end up in a hidden field
  called ans with an , in between each, so that the text field
  on the same form has in effect '1stValue , 2ndValue , 3rdValue' 
  contained within it withpur generating action on form.</p>
  
  <p>Which is the best way to do it ?</p>