form validation with checkboxes working