create a field from a hashtable