[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

textInput (Text Box Form Field Properties)

This element specifies a set of properties which shall be associated with the parent FORMTEXT text box form field (§2.16.5.28) within the document.

If the parent form field is not a text box (i.e. its field code does not have a value of FORMTEXT), then these properties may be ignored.

[Example: Consider the following WordprocessingML fragment for the properties of a text box form field:

<w:ffData>
<w:textInput>
<w:maxLength w:val="4" />
<w:type w:val="number" />
</w:textInput>
</w:ffData>

The textInput element specifies that it contains a set of properties for the parent text box form field. In this case, these properties specify that the drop-down list shall contain no more than four characters via the maxLength element (§2.16.27), and that its contents shall contain a number via the type element (§2.16.34). end example]

Parent Elements

ffData2.16.17)

 

Child Elements

Subclause

default (Default Text Box Form Field String)

§2.16.10

format (Text Box Form Field Formatting)

§2.16.22

maxLength (Text Box Form Field Maximum Length)

§2.16.27

type (Text Box Form Field Type)

§2.16.34

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_FFTextInput">

   <sequence>

   <element name="type" type="CT_FFTextType" minOccurs="0"/>

   <element name="default" type="CT_String" minOccurs="0"/>

   <element name="maxLength" type="CT_DecimalNumber" minOccurs="0"/>

   <element name="format" type="CT_String" minOccurs="0"/>

   </sequence>

</complexType>