def lookupFieldPropertyByName( fieldName, property )
      theproperty = nil
      if isValidFieldProperty?(property)
         fid = lookupFieldIDByName( fieldName )
         field = lookupField( fid ) if fid
         theproperty = field.elements[ property ] if field
         theproperty = theproperty.text if theproperty and theproperty.has_text?
      end
      theproperty
   end
def lookupFieldPropertyByName( fieldName, property )
      theproperty = nil
      if isValidFieldProperty?(property)
         fid = lookupFieldIDByName( fieldName )
         field = lookupField( fid ) if fid
         theproperty = field.elements[ property ] if field
         theproperty = theproperty.text if theproperty and theproperty.has_text?
      end
      theproperty
   end
Returns the value of a field property, or nil.