ValueList Element

ValueList is a descriptor element for FormField elements. If the form field represents a fixed set of possible values, ValueList specifies information about those values. Since the list of values are fixed and not data driven from a code table or any other table, use ValueList when you are certain the list of values will not change.

    <common:FormFields>
      <common:FormField FieldID="FIELD1" Caption="Field 1" DataType="String">
        <common:ValueList>
          <common:Items>
            <common:Item>
              <common:Value>Apple</common:Value>
            </common:Item>
            <common:Item>
              <common:Value>Orange</common:Value>
            </common:Item>
            <common:Item>
              <common:Value>Peach</common:Value>
            </common:Item>
          </common:Items>
        </common:ValueList>
      </common:FormField>
      <common:FormField FieldID="FIELD2" Caption="Field 2" DataType="String"/>
      <common:FormField FieldID="FIELD3" Caption="Field 3" DataType="String"/>
    </common:FormFields>