controller for checkboxes and dropdownlist