save Element

Microsoft Office InfoPath

Show All Show All

save Element

Shows whether the Save using custom code check box option is enabled.

Type

xsd:complexType

Child Elements

Element Description
useScriptHandler Specifies that the submit, save, or version upgrade operation will be handled using form code.

Attributes

None.

Definition

    <xsd:element name="save">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="1">
      <xsd:element ref="xsf:useScriptHandler"/>
    </xsd:choice>
  </xsd:complexType>
</xsd:element>

  

Remarks

If the Save using custom code check box option is enabled, the <xsf:save><xsf:useScriptHandler/></xsf:save> elements will be added to the form definition file (.xsf) as a child of the xDocumentClass element.

Note  This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.

Example

The following is an example of the save element:

    <xsf:save>
    <xsf:useScriptHandler/> 
</xsf:save>