submit Element
Specifies properties for submitting the form.
Usage
|
Element Information
Element type | xsd:complexType |
Namespace | xsf2 |
Elements and Attributes
Parent Elements
Element | Description |
---|---|
solutionDefinition | Root element for the elements defined in the xsf2 namespace. Specifies new properties and features that have been added to InfoPath 2007 form templates. |
Child Elements
Element | Type | Description |
---|---|---|
submitAction | xdTitle | Specifies the name of the data connection (adapter) for submitting the form. |
successMessage | xsd:string |
Specifies the custom message to display when submitting a form succeeds. |
errorMessage | xsd:string |
Specifies the custom message to display when submitting a form fails. |
Attributes
Attribute | Type | Required | Description | Possible Values |
---|---|---|---|---|
caption | xsd:string |
Optional | Specifies the name of submit action button. 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. |
String |
onAfterSubmit | xsd:enumeration |
Optional | Specifies how the form behaves after it is submitted. Possible values: "close" "keepOpen" "openNew" 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. |
|
showStatusDialog | xdYesNo | Optional | Specifies whether the status dialog should be displayed when the form is submitted. 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. |
|
showSignatureReminder | xdYesNo | Optional | Specifies whether the user should be reminded to sign the form before it is submitted. 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. |
|
disableMenuItem | xdYesNo | Optional | Specifies whether the submit button should be shown on the toolbar when the form is opened in a Web browser. Note If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will prevent the form template from being deployed to the server as a browser-compatible form. |
|
Definition
|
Remarks
Note This element or attribute must be present and valid in the form definition file (.xsf), before InfoPath Forms Services will allow the form template to be deployed to the server as a browser-compatible form.