I have a group of checkboxes that shows up at a certain stage of a form and I would like to make it required that at least one of the boxes be checked before submitting. When you do this via the layout and just make the checkbox object 'Required' it works just fine, but if I try making the input of the class assigned to that object required then the user has to check every box before they can proceed.
I've tried inspecting the source of a test page where I had used the layout to make the checkbox object required and comparing it to the source of my custom page; it adds a class called "group-required", but when I add that class it doesn't seem to have any effect.
Here's what I've got so far:
function checkcurrentstep() { if ($('.currentstep input').val() == "Campus Supervisor Approval"){ $('.supervisor').show(); $('.supervisorreq input').attr('required', "True"); $('.supervisorreq label.cf-label').append('<span class="cf-required">*</span>'); } }