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"/>

Note the following points:

  • You can make arrays of any field type.

  • The array element's default attribute specifies the number of fields that are displayed by default, and max specifies the maximum number of fields that can be displayed.