added checkboxes required validation