title: Knockout binding checkbox group
body: <p>I have a checkbox group generated dynamically and I need to bind it to my knockout viewmodel.</p>
  
  <p>Here is my code for the checkbox group:</p>
  
  <pre><code>&lt;p&gt;
      &lt;label&gt;Properties&lt;/label&gt;
      &lt;span class="formwrapper"&gt;
          @{
              foreach (ComboProperty item in this.Model.Properties)
              { 
                  @:&lt;input type="checkbox" name="chkproperty" value="@item.PropertyId" /&gt; @item.Name&lt;br/&gt;
  
                  }
          }
      &lt;/span&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>So here instead of a Radio Button group I can have multiple checkboxes selected. So first need to know how to create my knockout viewmodel in order to manage multiple values and then how to bind it.</p>
  
  <p>I have created this in fiddler for reference. It has the json collection.</p>
  
  <p><a href="http://jsfiddle.net/SSHev/5/" rel="nofollow">http://jsfiddle.net/SSHev/5/</a></p>
  
  <p>Thanks a lot.</p>