Condividi tramite


SubmitBehavior Enumeration

Specifies the action to perform after a user submits the form displayed in the InfoPath Form Web Part.

Namespace:  Microsoft.Office.InfoPath.Server.Controls.WebUI
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public Enumeration SubmitBehavior
'Usage
Dim instance As SubmitBehavior
public enum SubmitBehavior

Members

Member name Description
KeepOpen Leave the form open after the user submits the form.
OpenNew Open a new, blank form after the user submits the form.
Close Close the form after the user submits the form.
FormDefault Perform the action specified for the After submit setting of the Submit Options dialog box in Microsoft InfoPath 2010 after the user submits the form.

Remarks

An InfoPath Form Web Part is an instance of the BrowserFormWebPart class on a SharePoint Web Part page.

See Also

Reference

Microsoft.Office.InfoPath.Server.Controls.WebUI Namespace