I have a form with 21 checkboxes conveniently named, check1, check2, etc. Boxes 1-12 and 21 are always required. The form also contains a dropdown where the choices are either 0 or 1. If 0 is chosen, then boxes 13-17 become required. If 1 is chosen, then 18-20 become required. What would be the most efficient (least amount of code) to verify the boxes are checked?