I have a form full of 48 check boxes. Dependent upon ticked or not, they all will submit true or false into a database. I only want 8 to be ticked for them to submit and I have been having trouble incrementing a variable when clicked so the button only submits when 8 are ticked (i.e the incremental variable is at 8). The variable stuck at 0 so i guess it hasn't been declared right either so I gave up .
Any suggestions as to how would be best collecting this data from them so only 8 are ticked. Cheers.