caption Attribute (initialXmlDocument Element)

Microsoft Office InfoPath

caption Attribute (initialXmlDocument Element)

Defines the text string to be used as the name of the form in the Template Gallery and in the most recently used list.

Type

      xsf:xdTitle
    

Remarks

The caption attribute is a required attribute of the initialXmlDocument element.

If this attribute is not specified, the name of the form is used as the caption. The maximum size for the caption text string is 255 characters.

Example

The following is an example of the caption attribute as it is used in the initialXmlDocument element:

    <xsf:fileNew>
   <xsf:initialXmlDocument
      caption="Travel Report"
      href="TravelReportTemplate.xml"/>
</xsf:fileNew>