5.1.4 ContactField Object

A ContactField represents a field of a Contact at a certain index. A ContactField has attributes, some of which can be modified. If the parent Contact has not been locked for editing, modifications are committed immediately to the database. If the parent Contact has been locked, the changes are committed only when commit is called on the Contact.

class ContactField
ContactField objects have the following attributes:


The user-visible label of this field. Read-write.


The value of this field. Read-write.


The type of this field. Read-only.


The location of this field. This can be 'none', 'work', or 'home'.


A dictionary that contains some properties of this field. The contents of this dictionary correspond to those returned by the ContactDb method field_types.

See About this document... for information on suggesting changes.