## FormSubmitter class

This class allows to prepare specified [`HTMLFormElement`](../../aspose.html/htmlformelement/), collects values from the form element, submit them to the remote server and receives a response.

```csharp
public class FormSubmitter : IDisposable
```

## Constructors

| Name | Description |
| --- | --- |
| [FormSubmitter](formsubmitter/#constructor)(*[FormEditor](../formeditor/)*) | Initializes a new instance of the `FormSubmitter` class. |
| [FormSubmitter](formsubmitter/#constructor_3)(*[HTMLFormElement](../../aspose.html/htmlformelement/)*) | Initializes a new instance of the `FormSubmitter` class based on [`HTMLFormElement`](../../aspose.html/htmlformelement/). |
| [FormSubmitter](formsubmitter/#constructor_1)(*[HTMLDocument](../../aspose.html/htmldocument/), int*) | Initializes a new instance of the `FormSubmitter` class based on [`HTMLFormElement`](../../aspose.html/htmlformelement/) selected by index from [`HTMLDocument`](../../aspose.html/htmldocument/). |
| [FormSubmitter](formsubmitter/#constructor_2)(*[HTMLDocument](../../aspose.html/htmldocument/), string*) | Initializes a new instance of the `FormSubmitter` class based on [`HTMLFormElement`](../../aspose.html/htmlformelement/) selected by identifier from [`HTMLDocument`](../../aspose.html/htmldocument/). |

## Properties

| Name | Description |
| --- | --- |
| [Action](../../aspose.html.forms/formsubmitter/action/) { get; set; } | Server-side form handler. See the action attribute definition in HTML 4.01. |
| [Method](../../aspose.html.forms/formsubmitter/method/) { get; set; } | HTTP method [[IETF RFC 2616](http://www.ietf.org/rfc/rfc2616.txt)] used to submit form. See the method attribute definition in HTML 4.01. |

## Methods

| Name | Description |
| --- | --- |
| [Dispose](../../aspose.html.forms/formsubmitter/dispose/)() | Releases unmanaged and - optionally - managed resources. |
| [Submit](../../aspose.html.forms/formsubmitter/submit/#submit)() | Submits the form data to the server. |
| [Submit](../../aspose.html.forms/formsubmitter/submit/#submit_1)(*CookieContainer*) | Submits the form data to the server with specified cookies. |
| [Submit](../../aspose.html.forms/formsubmitter/submit/#submit_2)(*ICredentials*) | Submits the form data to the server with specified user credentials. |
| [Submit](../../aspose.html.forms/formsubmitter/submit/#submit_8)(*TimeSpan*) | Submits the form data to the server with specified timeout. |
| [Submit](../../aspose.html.forms/formsubmitter/submit/#submit_3)(*ICredentials, CookieContainer*) | Submits the form data to the server with specified user credentials and cookies. |
| [Submit](../../aspose.html.forms/formsubmitter/submit/#submit_4)(*ICredentials, TimeSpan*) | Submits the form data to the server with specified user credentials and timeout. |
| [Submit](../../aspose.html.forms/formsubmitter/submit/#submit_9)(*TimeSpan, CookieContainer*) | Submits the form data to the server with specified timeout and cookies. |
| [Submit](../../aspose.html.forms/formsubmitter/submit/#submit_5)(*ICredentials, TimeSpan, bool*) | Submits the form data to the server with specified user credentials. |
| [Submit](../../aspose.html.forms/formsubmitter/submit/#submit_7)(*ICredentials, TimeSpan, CookieContainer*) | Submits the form data to the server with specified user credentials, timeout and cookies. |
| [Submit](../../aspose.html.forms/formsubmitter/submit/#submit_6)(*ICredentials, TimeSpan, bool, CookieContainer*) | Submits the form data to the server with specified user credentials and cookies. |

### See Also

* namespace [Aspose.Html.Forms](../../aspose.html.forms/)
* assembly [Aspose.HTML](../../)
