Setting now return value based on field type