title: Clear form using a checkbox
body: <p>I am trying to use a checkbox to clear a form but I do not want the reset to clear the checkbox itself. The code I am using is as follows:</p>
  
  <pre><code>&lt;input name="no_cage" id="no_cage" type="checkbox" value="1" onclick="this.form.reset();"&gt;
  </code></pre>
  
  <p>When I click on the checkbox it clears the form fine but unfortunately, also clear itself too.</p>
  
  <p>The checkbox also updates a db with a 1 if checked or a 0 if unchecked. So I need it within the form and it needs to be able to toggle between checked and unchecked.</p>