Inherited field

Defines an inherited field. An inherited field inherits all its characteristics (type, constraints, default value and so on) from another named field. These characteristics cannot be overridden: in other words, if you specify the inherits-from attribute, you cannot specify type or mime-type attributes.

If an inherited field is left empty, the Content Store will try to retrieve a value from the field it inherits from.

Syntax
<field
    name="NCName"
    id="NCName"?
    inherits-from="text"
  >
  ANY-FOREIGN-ELEMENT*
</field>
Attributes
name="NCName"

The name of the field element. Note that no two fields belonging to the same panel may have the same name.

id="NCName" (optional)

The id of the field element. Set this attribute if you want to be able to reference this element using XInclude. Otherwise it is not required.

inherits-from="text"

Specifies the field element from which this field is to inherit its characteristics. Enter the name of another field in the same content-type. The field you specify may not itself be an inherited field.

If the field you specify contains any elements from foreign namespaces (such as a label element from the interface-hints namespace), then these will be inherited along with the field's other characteristics. However, you can override these inherited foreign elements by adding the same elements to this field.