Write validation for accepted_terms checkbox