So I included this jquery form plugin called multiswitch (credits to the source) in my MVC web project and integrated it using Html.Checkboxfor() in my Create.cshtml and in my model 'IsReserved' bool property. However, it doesn't bind well in my model when I click the submit button and call the Http post of my controller. Refer to screenshots and public repo link below:






CheckBoxFor()does not make sense since theCheckBoxFor()method generates 2 inputs -<input type="checkbox" .... value="true" />and<input type="hidden" .... value="false" />