Changing text input fields to checkboxes for boolean values.