# AcroForms.FormField.AlternateFieldName Property

> Gets or sets the alternate field name of the field.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 29.0
- **Namespace:** `TXTextControl.DocumentServer.PDF.AcroForms`
- **Package:** `TXTextControl.TextControl.WinForms.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 Windows Forms > Reference > TXTextControl.DocumentServer.PDF > AcroForms.FormField.AlternateFieldName Property
- **416 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/alternatefieldname-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/alternatefieldname-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/alternatefieldname-property/llms-full.txt

---

### Description

Gets or sets the alternate field name of the field.

### Syntax

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

```vbnet
Public Property AlternateFieldName As String
```

### Examples

The following example uses `FormField.AlternateFieldName` to configure alternate field name as part of the form field workflow. The configured value is checked before the workflow continues.

```csharp
formField.AlternateFieldName = "CustomerName";
if (!string.IsNullOrWhiteSpace(formField.AlternateFieldName))
{
    Console.WriteLine($"Alternate Field Name: {formField.AlternateFieldName}");
}
```

```vbnet
formField.AlternateFieldName = "CustomerName"
If Not String.IsNullOrWhiteSpace(formField.AlternateFieldName) Then
    Console.WriteLine($"Alternate Field Name: {formField.AlternateFieldName}")
End If
```

---

## Nearby

- **Previous:** [AcroForms.FormField Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/llms-full.txt)
- **Next:** [AcroForms.FormField.Bounds Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/bounds-property/llms-full.txt)
