TX Text Control .NET Server

FieldValue Property

Property|Introduced in 20.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

Description

Gets or sets the field's value of the field that has been specified in Expression1.

Syntax

public string FieldValue { get; set; }

Examples

The following example uses NextIfField.FieldValue to configure field value as part of the next if field workflow. The configured value is checked before the workflow continues.

nextIfField.FieldValue = "Quarterly report";
if (!string.IsNullOrWhiteSpace(nextIfField.FieldValue))
{
    Console.WriteLine($"Field Value: {nextIfField.FieldValue}");
}