Share via


toolbar Element

Contains information about the toolbar that is displayed when a form is opened in a browser from a server running InfoPath Forms Services.

Usage

  
<toolbar
	enabledTop="xsf:xdYesNo"
	enabledBottom="xsf:xdYesNo"
/>

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

Element Description
server Specifies how a form template is displayed and works when opened in a Web browser.

Child Elements

Element Description
commands Contains the commands that display on the toolbar when a form is opened in a browser from a server running InfoPath Form Services.

Attributes

Attribute Type Required Description Possible Values
enabledTop xdYesNo Optional Specifies whether Forms Services displays the toolbar on the top of the form.

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
  • yes
  • no
enabledBottom xdYesNo Optional Specifies whether Forms Services displays the toolbar on the bottom of the form.

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.
  • yes
  • no

Definition

  
<xsd:element name="toolbar">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element ref="xsf2:commands" minOccurs="0" />
      </xsd:sequence>
      <xsd:attribute name="enabledTop" type="xsf:xdYesNo" use="optional" default="no" />
      <xsd:attribute name="enabledBottom" type="xsf:xdYesNo" use="optional" default="no" />
      <xsd:anyAttribute  processContents="skip" />
   </xsd:complexType>
</xsd:element>

Remarks

If the toolbar element is not present in the manifest.xsf, then the default InfoPath Forms Services toolbar is displayed when the form template is opened in a browser from a server running InfoPath Forms Services.

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.