name Attribute (field Element)

Microsoft Office InfoPath

name Attribute (field Element)

Identifies the friendly name of the field to be used on the form list view.

Type

      xsf:xdTitle
    

Remarks

The name attribute is a required attribute of the field element.

Example

The following is an example of the name attribute as it is used in the field element:

    <xsf:listProperties>
   <xsf:fields>
      <xsf:field
         type="xsd:date"
         name="TravelDate"
         columnName="TravelDate" 
         required="yes"
         viewable="yes"
         node="TravelReport/Header/travelDate"
         aggregation="first"/>
   </xsf:fields>
</xsf:listProperties>