attach error message to a checkbox

Is it possible to attach a error message to a checkbox or checkbox label ? I have a registration form where I request approval from the user via a checkbox. It should not be possible to submit the form if the checkbox is not checked. Also when submitting the form with an unchecked checkbox there should be a error message. I have bound my form and user bean via a BeanValidationBinder. Binding works for all fields except the checkbox. The user bean has a LocalDateTime field zustimmungAgbUndDatenschutz which gets converted via the checkbox:

                .withValidator(value -> value, "is required").withConverter(new ZustimmungAgbDatenschutzConverter()).bind(User::getZustimmungAgbUndDatenschutz, User::setZustimmungAgbUndDatenschutz);