support for radio buttons
support for checkboxes