Field Arrays
The following field
element defines an array of
basic
fields with the name
cities
:
<field type="basic" name="cities"> <array default="3" max="10"/> </field>
Note the following points:
-
You can make arrays of any field type.
-
The
array
element'sdefault
attribute specifies the number of fields that are displayed by default, andmax
specifies the maximum number of fields that can be displayed.