Result

ASP.NET MVC Multiple Checkboxes Validation and Handling using C#

This post shows how to process multiple dynamic or static checkboxes in ASP.NET MVC. Input form validation is easy to accomplish with System.ComponentModel.DataAnnotation’s ValidationAtribute. Validating and processing multiple checkboxes at once is very tricky. I created a form model that maps each checkbox group to a List and implemented ValidationAttribute to create a custom attribute that handles the validation of each checkbox group.

HTML and PHP Multiple Checkboxes Form handling using Arrays

This article explains the methods you can use to handle multiple checkboxes in HTML forms using PHP. This means a group options on a HTML form that users can select many options they like.