title: Why does a checkbox also have a hidden tag with it?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2697299/asp-net-mvc-why-is-html-checkbox-generating-an-additional-hidden-input">asp.net mvc:   why is Html.CheckBox generating an additional hidden input </a>  </p>
  </blockquote>
  
  
  
  <p>I'm rendering a checkbox in an asp.net mvc app, and the control is also outputting a hidden field like this:</p>
  
  <pre><code>&lt;input id="blah-64" name="blah-64" value="true" type="checkbox"&gt;
  &lt;input name="blah-64" value="false" type="hidden"&gt;
  </code></pre>
  
  <p>Problem is, when I post the form, the form key "blah-64 returns "on, off".</p>
  
  <p>Why is this?</p>