I've tried to look up a working solution for my problem, but after days of research a couldn't fine one, and that's why i'm asking for your help.
Basically, what i would like to do is to have a drop down menu, with several year group options in it. So for example the drop down menu would have year 7, year 8 year 9 etc inside of it.
Once they select year 7, the system would create only one checkbox. For year 8 and 9 there should be two checkboxes created, because they can choose either one or two subjects.
If the drop down menu is not changed, there should be no checkboxes.
I hope these all make sense and you guys will be able to give me an answer. Thanks in advance.