Added search field type to field() method
Added search field type to field() method