TX Text Control .NET for Windows Forms

CommitOnSelChange Property

Property|Introduced in 29.0
Namespace
TXTextControl.DocumentServer.PDF.AcroForms
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies whether the form is submitted when the selected is changed.

Syntax

public bool CommitOnSelChange { get; set; }

Examples

The following example uses FormChoiceField.CommitOnSelChange to configure commit on sel change as part of the form choice field workflow. The configured value is checked before the workflow continues.

formChoiceField.CommitOnSelChange = true;
if (formChoiceField.CommitOnSelChange)
{
    Console.WriteLine("Form Choice Field: Commit On Sel Change is enabled.");
}