TX Text Control .NET Server

Name Property

Property|Introduced in 15.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 and sets the name of the form field.

Syntax

public string Name { get; set; }

Examples

The following example uses FormFieldAdapter.Name to give the form field adapter a stable, descriptive name. The configured value is checked before the workflow continues.

formFieldAdapter.Name = "FormFieldAdapter1";
if (!string.IsNullOrWhiteSpace(formFieldAdapter.Name))
{
    Console.WriteLine($"Name: {formFieldAdapter.Name}");
}