Complex Fields

A complex field is an array of related fields that are displayed as a group in CUE. The component fields can be of any type except complex.

The following code defines a complex field with the name details:

<field type="complex" name="details">
    <field type="basic" name="availability"/>
    <field type="basic" name="colors"/>
    <field type="number" name="price"/>

You can create arrays of complex fields.