I'm trying to wright a program where when someone checks a box on the website it checks multiple boxes. I could wright an if statement but their are a lot of cases in which i have to do this throughout the page. I was wondering if their was a way to link the checkbox's values with that box being checked or the checkbox's name with it being checked or unchecked. An example is this
I want to see if someone has taken required classes for some major so i ask them to check the classes they took for a specific section. The problem is some of these classes overlap for the sections and I dont want someone to keep on checking in the same courses. At anytime they can click one of the box's and check ALL of the box's associated with that specific course.
I want to see if someone has taken required classes for some major so i ask them to check the classes they took for a specific section. The problem is some of these classes overlap for the sections and I dont want someone to keep on checking in the same courses. At anytime they can click one of the box's and check ALL of the box's associated with that specific course.