Required checkboxes are not working in firefox