SubmitBehavior Enum

Definition

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

public enum class SubmitBehavior
public enum SubmitBehavior
type SubmitBehavior = 
Public Enum SubmitBehavior
Inheritance
SubmitBehavior

Fields

Close 2

Close the form after the user submits the form.

FormDefault 3

Perform the action specified for the After submit setting of the Submit Options dialog box in Microsoft InfoPath after the user submits the form.

KeepOpen 0

Leave the form open after the user submits the form.

OpenNew 1

Open a new, blank form 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.

Applies to