[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

ST_FFTextType (Text Box Form Field Type Values)

This simple type specifies the possible types of the contents of a text box form field.

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

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

The type element specifies that the contents of this form field should be handled as a number by an application. end example]

This simple type's contents are a restriction of the XML Schema string datatype.

The following are possible enumeration values for this type:

Enumeration Value

Description

calculated (Field Calculation)

Specifies that the contents of this text box form field shall be the result of the field calculation specified by the corresponding default element (§2.16.10).

 

This field should not be directly editable when the editing of form fields is enabled.

currentDate (Current Date Display)

Specifies that the contents of this text box form field shall be the current date when the field is updated.

currentTime (Current Time Display)

Specifies that the contents of this text box form field shall be the current time when the field is updated.

date (Date)

Specifies that the contents of this text box form field shall be treated as a date.

number (Number)

Specifies that the contents of this text box form field shall be treated as a number value.

regular (Text Box)

Specifies that this text form field is a plain text field (no additional content restrictions).

 

Referenced By

type@val2.16.34)

The following XML Schema fragment defines the contents of this simple type:

<simpleType name="ST_FFTextType">

   <restriction base="xsd:string">

   <enumeration value="regular"/>

   <enumeration value="number"/>

   <enumeration value="date"/>

   <enumeration value="currentTime"/>

   <enumeration value="currentDate"/>

   <enumeration value="calculated"/>

   </restriction>

</simpleType>