Handle default value for checkboxes and radio fields.