TX Text Control .NET for WPF

IsFormFieldValidationEnabled Property

Property|Introduced in 28.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets a value indicating whether Conditional Instructions are applied to form fields when the EditMode property is set to EditMode.ReadAndSelect and TextControl.DocumentPermissions.ReadOnly to true. The default value is false.

Syntax

public bool IsFormFieldValidationEnabled { get; set; }

Examples

The following example uses TextControl.IsFormFieldValidationEnabled to configure is form field validation enabled as part of the text control workflow. The configured value is checked before the workflow continues.

textControl.IsFormFieldValidationEnabled = true;
if (textControl.IsFormFieldValidationEnabled)
{
    Console.WriteLine("Text Control: Is Form Field Validation Enabled is enabled.");
}