title: Manually bind MVC model to checkbox without HTML helper
body: <p>I am building a screen from an array of ViewModel objects that contain three fields:</p>
  
  <pre><code>    public class StartViewModel {
  
          public string Id{ get; set; }
  
          public string Name { get; set; }
  
          public bool Accept { get; set; }
      }
  </code></pre>
  
  <p>I am then trying to bind it to my view like so:</p>
  
  <pre><code>&lt;input type="hidden" name="StartRequests[&lt;%: i.ToString()  %&gt;].Name" value="&lt;%: StartRequests.Name %&gt;" /&gt;
  &lt;input type="hidden" name="StartRequests[&lt;%: i.ToString()  %&gt;].Id" value="&lt;%: StartRequests.Id%&gt;" /&gt;
  </code></pre>
  
  <p>I then want to bind the Accept flag to a checkbox.  I understand that the checkbox lacks a name attribute so I can't use it immediately and I understand that the Html.CheckBoxFor will generate a second hidden field that will store the value.  So here is my issue. </p>
  
  <p>I do not have the ability to use javascript.  I need to configure this checkbox to effectively adjust the value in the ViewModel but I do not know how to make this happen.  How do the Html.CheckBox helper populate the hidden field that it generates? I assumed it did so with javascript.  Can someone help me understand a way to do this? I am still working through the ideas behind Model binding. </p>