Change field type to discrete/continuous