IsFormFieldValidationEnabled Property
- Namespace
TXTextControl.ServerVisualisation
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
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 TextViewGenerator.DocumentPermissions.ReadOnly to true. The default value is false.
Syntax
public bool IsFormFieldValidationEnabled { get; set; }Public Property IsFormFieldValidationEnabled As BooleanExamples
The following example applies bold formatting through the text view generator's selection by using TextViewGenerator.IsFormFieldValidationEnabled.
Selection formattedSelection = textViewGenerator.Selection;
formattedSelection.Bold = true;
textViewGenerator.Selection = formattedSelection;
textViewGenerator.IsFormFieldValidationEnabled = true;
if (textViewGenerator.IsFormFieldValidationEnabled)
{
Console.WriteLine("Text View Generator: Is Form Field Validation Enabled is enabled.");
}Dim formattedSelection As Selection = textViewGenerator.Selection
formattedSelection.Bold = True
textViewGenerator.Selection = formattedSelection
textViewGenerator.IsFormFieldValidationEnabled = True
If textViewGenerator.IsFormFieldValidationEnabled Then
Console.WriteLine("Text View Generator: Is Form Field Validation Enabled is enabled.")
End If