add required option for radios / checkboxes