2.2.2.2.5 command

The command element specifies a command that MUST be displayed on the toolbar when a form is opened.

Parent Elements

commands

Attributes:

action: This attribute specifies an action that MUST be performed when the toolbar button is clicked. The value MUST be one of the following values:

  • "submit"

  • "print"

  • "view"

  • "save"

  • "saveAs"

  • "close"

  • "refresh"

caption: This attribute MUST be ignored.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="command">
   <xsd:complexType>
     <xsd:sequence/>
     <xsd:attribute name="action" type="xsf2.2.2.1.1:serverCommandActionType" use="required"/>
     <xsd:attribute name="caption" type="xsf:xdTitle" use="optional"/>
   </xsd:complexType>
 </xsd:element>