Refactored checkboxes to use the checkboxform object