# AcroForms.FormButton Class

> The FormButton class implements the Adobe PDF AcroForms button field.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **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
- **Inherits:** `TXTextControl.DocumentServer.PDF.AcroForms.FormField`
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.DocumentServer.PDF > AcroForms.FormButton Class
- **866 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formbutton/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formbutton/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formbutton/llms-full.txt

---

### Description

The FormButton class implements the Adobe PDF AcroForms button field.

### Syntax

```csharp
public class FormButton : FormField
```

```vbnet
Public Class FormButton
    Inherits FormField
```

### Examples

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

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

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

---

## In This Section

- [AcroForms.FormButton Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formbutton/constructor/llms-full.txt): Initializes a new instance of the FormButton class.

---

## Nearby

- **Previous:** [PDF.AcroForms.FieldType Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver/pdf-acroforms-fieldtype/enumeration/llms-full.txt)
- **Next:** [AcroForms.FormButton Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-pdf/acroforms-formbutton/constructor/llms-full.txt)
