support for checkboxes and radios