I'm currently working on a kind of a multichoice form in my app (MVC5) and cannot figure out how can i disable unchecked boxes after there was a specific number of checked ones (Lets say that 3 was the max number, and 3 out of 5 were checked.. the other 2 should be disabled, and when one of the checked ones is unchecked, they should become enabled) The web page might have several forms/check lists with different constraints for each, so i'm looking for a dynamic type of work and would like to know if there is a way to do so or am i stuck with a static function for each check list.. Looking for help with the code either way.I'm currently working on a kind of a multichoic