Allowed cogField to be an attribute or an element