Check field type