[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
ddList (Drop-Down List Form Field Properties)
This element specifies a set of properties which shall be associated with the parent FORMDROPDOWN drop-down list form field (§2.16.5.27) within the document.
If the parent form field is not a drop-down list (i.e. its field code does not have a value of FORMDROPDOWN), then these properties may be ignored.
[Example: Consider the following WordprocessingML fragment for the properties of a drop-down list form field:
<w:ffData>
  <w:ddList>
    <w:listEntry w:val="One" />
    <w:listEntry w:val="Two" />
    <w:listEntry w:val="Three" />
  </w:ddList>
</w:ffData>
The ddList element specifies that it contains a set of properties for the parent drop-down list form field. In this case, these properties specify that the drop-down list shall contain three entries of One, Two, and Three via the listEntry elements (§2.16.26). end example]
| Parent Elements | 
| ffData (§2.16.17) | 
| Child Elements | Subclause | 
| default (Default Drop-Down List Item Index) | §2.16.11 | 
| listEntry (Drop-Down List Entry) | §2.16.26 | 
| result (Drop-Down List Selection) | §2.16.29 | 
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_FFDDList">
<sequence>
<element name="result" type="CT_DecimalNumber" minOccurs="0"/>
<element name="default" type="CT_DecimalNumber" minOccurs="0"/>
<element name="listEntry" type="CT_String" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</complexType>