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)

public enum SubmitBehavior

Member nameDescription
KeepOpenLeave the form open after the user submits the form.
OpenNewOpen a new, blank form after the user submits the form.
CloseClose the form after the user submits the form.
FormDefaultPerform the action specified for the After submit setting of the Submit Options dialog box in Microsoft InfoPath after the user submits the form.

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

Show: