add ability to generate checkboxes and radios