Data Annotation with Bools
Down below I have three different categories. How would I structure the validation to make sure that at least one boolean gets selected per category? //Disabilities [Display(Name = "Learning Disabilities")] public bool LD { get; set; } [Display(Name = "Developmental Disabilities")] public bool DD { get; set; } [Display(Name = "AD/HD")] public bool ADHD { get; set; } [Display(Name = "Autism")] public bool Autism { get; set; } //Age Group [Display(Name = "Child")] public bool child { get; set; } [Display(Name = "Youth")] public bool youth { get; set; } [Display(Name = "Adult")] public bool adult