# AcroForms.FormField Class

> The FormField class implements the base class for the Adobe PDF AcroForms form fields.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 29.0
- **Namespace:** `TXTextControl.DocumentServer.PDF.AcroForms`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDocumentServer.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Derived:** `TXTextControl.DocumentServer.PDF.AcroForms.FormButton`, `TXTextControl.DocumentServer.PDF.AcroForms.FormCheckBox`, `TXTextControl.DocumentServer.PDF.AcroForms.FormChoiceField`, `TXTextControl.DocumentServer.PDF.AcroForms.FormTextField`
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.DocumentServer.PDF > AcroForms.FormField Class
- **585 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/llms-full.txt

---

### Description

The FormField class implements the base class for the Adobe PDF AcroForms form fields.

### Syntax

```csharp
public class FormField
```

```vbnet
Public Class FormField
```

### Examples

The following example creates a Form Field instance and configures its field name setting for a document workflow.

```csharp
TXTextControl.DocumentServer.PDF.AcroForms.FormField formField = new();
formField.FieldName = "CustomerName";
```

```vbnet
Dim formField As New TXTextControl.DocumentServer.PDF.AcroForms.FormField()
formField.FieldName = "CustomerName"
```

---

## In This Section

- [AcroForms.FormField.AlternateFieldName Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/alternatefieldname-property/llms-full.txt): Gets or sets the alternate field name of the field.
- [AcroForms.FormField.Bounds Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/bounds-property/llms-full.txt): Gets or sets the rectangle bounds of the form field in the document.
- [AcroForms.FormField Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/constructor/llms-full.txt): Initializes a new instance of the FormField class.
- [AcroForms.FormField.FieldName Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/fieldname-property/llms-full.txt): Gets or sets the name of the field.
- [AcroForms.FormField.FieldType Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/fieldtype-property/llms-full.txt): Gets or sets the type of the field.

---

## Nearby

- **Previous:** [AcroForms.FormComboBox Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/acroforms-formcombobox/constructor/llms-full.txt)
- **Next:** [AcroForms.FormField.AlternateFieldName Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/alternatefieldname-property/llms-full.txt)
