title: Why Html.EditorFor renders hidden field?
body: <p>I have a code on server side:</p>
  
  <pre><code>@Html.EditorFor(m =&gt; m.RememberMe)
  </code></pre>
  
  <p><code>RememberMe</code> is a boolean field of my model.
  And the rendered HTML:</p>
  
  <pre><code>&lt;input class="check-box" data-val="true" data-val-required="The Remember Me ? field is required." id="RememberMe" name="RememberMe" type="checkbox" value="true" /&gt;
  &lt;input name="RememberMe" type="hidden" value="false" /&gt;
  </code></pre>
  
  <p>There is a hidden field with the same <code>name="RememberMe"</code>. I don't know why and what is the purpose of this hidden field. </p>
  
  <p>When I debug on server side with the checkbox checked, the model was mapped correctly. I got: <code>myModel.RememberMe = true</code>. But when I inspected the <code>Request["RememberMe"]</code>. I saw <code>"true,false"</code>. The <code>false</code> must be from the hidden field as they have same name. </p>
  
  <p>My questions are:</p>
  
  <ul>
  <li>Will the <code>false</code> cause problems? </li>
  <li>Why asp.net mvc renders a hidden field like this?</li>
  <li>If the hidden field is not neccesary. How can I get rid of it? I think it's best to get only <code>"true"</code> for <code>Request["RememberMe"]</code>.</li>
  </ul>
  
  <p>Thank you</p>