This works great, however I'd like to group 2 different checkboxes together to have total restrictions. How do I do this? I'm a php novice so am tinkering around with the code to try and get it to work. Reason I ask this is due to page formatting thats all. Rather than have 1 checkbox with 10 options, ive done two columns of 5 instead.
eg 'checkbox-2' & 'checkbox-5': 5,//[field-id]:[limit]