# FormFieldAdapter.Name Property

> Gets and sets the name of the form field.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **Namespace:** `TXTextControl.DocumentServer.Fields`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer.Fields > FormFieldAdapter.Name Property
- **395 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/name-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/name-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/name-property/llms-full.txt

---

### Description

Gets and sets the name of the form field.

### Syntax

```csharp
public string Name { get; set; }
```

```vbnet
Public Property Name As String
```

### 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.

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

```vbnet
formFieldAdapter.Name = "FormFieldAdapter1"
If Not String.IsNullOrWhiteSpace(formFieldAdapter.Name) Then
    Console.WriteLine($"Name: {formFieldAdapter.Name}")
End If
```

---

## Nearby

- **Previous:** [FormFieldAdapter.HelpText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/helptext-property/llms-full.txt)
- **Next:** [FormFieldAdapter.StatusText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/statustext-property/llms-full.txt)
