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

Parent Elements



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:attribute name="action" type="xsf2." use="required"/>
     <xsd:attribute name="caption" type="xsf:xdTitle" use="optional"/>