---
title: "Class FormField"
url: "https://reference.aspose.com/email/net/aspose.email.amp/formfield/"
product: "Aspose.Email for .NET API Reference"
description: "Aspose.Email.Amp.FormField class. Describe one field of form"
---

## FormField class

Describe one field of form.

```csharp
public class FormField
```

## Constructors

| Name | Description |
| --- | --- |
| [FormField](formfield/#constructor)() | Create instance of form field. |
| [FormField](formfield/#constructor_1)(string) | Create instance of form field. |
| [FormField](formfield/#constructor_2)(string, string) | Create instance of form field. |

## Properties

| Name | Description |
| --- | --- |
| [Id](../../aspose.email.amp/formfield/id/) { get; set; } | Get or set Id of field. |
| [InputType](../../aspose.email.amp/formfield/inputtype/) { get; set; } | Get or set input type of field. |
| [IsRequired](../../aspose.email.amp/formfield/isrequired/) { get; set; } | Get or set value that define field as required. |
| [Label](../../aspose.email.amp/formfield/label/) { get; set; } | Get or set label of field. |
| [Name](../../aspose.email.amp/formfield/name/) { get; set; } | Get or set name of field. |
| [Placeholder](../../aspose.email.amp/formfield/placeholder/) { get; set; } | Get or set placeholder of field. |
| [Value](../../aspose.email.amp/formfield/value/) { get; set; } | Get or set value of field. |

## Methods

| Name | Description |
| --- | --- |
| virtual [ToAmpHtml](../../aspose.email.amp/formfield/toamphtml/)() | Represents amp html version of field. |
| virtual [ToHtml](../../aspose.email.amp/formfield/tohtml/)() | Represents html version of field. |

### See Also

* namespace [Aspose.Email.Amp](../../aspose.email.amp/)
* assembly [Aspose.Email](../../)


