Basic working for boolean types (checkboxes)