List fields

A list field allows users to choose one or more values from a list. You can create your own list values, or for Text fields you can specify list values using Categories. You can create list fields for Text fields (single line only), number fields and date fields.

Procedure

  1. In the Design tab or Metadata Design tab of the Schema that you are creating, fill in the following fields:
    • XML Name — the XML name of the field. The XML name can only contain letters without accents (A-Z, a-z), digits (0-9), underscores "_" and/or hyphens "-". The first character of the XML name must be a letter or an underscore character.
    • Description — a description of the field. This description is used as a label in the Component.
    • Type — select one of the following field types:
      • Text field
      • Number field
      • Date field
  2. Select the check box Values can be selected from a list and do one of the following:
    • to create a list using your own values, go to step 3.
    • to create a list using a Category, go to step 4.
  3. To add a value, click the Add button. In the popup, add a value that corresponds with the field type you selected, and click OK. Repeat for each value that you want to add.
  4. To add values from a predefined Category, select the Category check box, choose a Category from the drop-down list and select a List type from the following:
    1. Drop-down list—specify the Height of the field.
    2. Select box—specify the Height of the field and uncheck Allow multiple values and if you want the user to be able to select only one value.
    3. Radio buttons—specify Radio buttons per line (the number of values that should appear per row).
    4. Check boxes—specify Boxes per line (the number of values that should appear per row).
    5. —uncheck Allow multiple values and if you want the user to be able to select only one value.
  5. If you do not want this field to be mandatory, clear the Mandatory check-box.
  6. If you want a default selection for this field, select a default value from the Default value drop-down field.