Complex Fields
A complex field
is an array of related
field
s that are displayed as a group in CUE. The
component field
s can be of any type except
complex
.
The following code defines a complex field
with the
name details
:
<field type="complex" name="details"> <complex> <field type="basic" name="availability"/> <field type="basic" name="colors"/> <field type="number" name="price"/> </complex> </field>
You can create arrays of complex fields.