
## AmpForm class

**Inherits:** Aspose::Email::Amp::AmpComponent

The amp-form extension allows you to create forms to submit input fields in an AMP document.

## Constructors

| Name | Description |
| --- | --- |
| [AmpForm](./ampform/) |  |

## Methods

| Name | Description |
| --- | --- |
| [get_Action](./get_action/) | Specifies a server endpoint to handle the form input. The value must be an https URL (absolute or relative) and must not be a link to a CDN |
| [get_ActionXhr](./get_actionxhr/) | Specifies a server endpoint to handle the form input and submit the form via XMLHttpRequest (XHR). |
| [get_Fieldset](./get_fieldset/) | List of fields. |
| [get_Method](./get_method/) | The method attribute tells the server about the request method. |
| [get_RequiredScript](./get_requiredscript/) | Required script that muct be added to head section. |
| [get_Target](./get_target/) | Indicates where to display the form response after submitting the form.The value must be _blank or _top. |
| [set_Action](./set_action/) | Specifies a server endpoint to handle the form input. The value must be an https URL (absolute or relative) and must not be a link to a CDN |
| [set_ActionXhr](./set_actionxhr/) | Specifies a server endpoint to handle the form input and submit the form via XMLHttpRequest (XHR). |
| [set_Method](./set_method/) | The method attribute tells the server about the request method. |
| [set_Target](./set_target/) | Indicates where to display the form response after submitting the form.The value must be _blank or _top. |
| [ToAmpHtml](./toamphtml/) | Represents amp html version of component. |
| [ToHtml](./tohtml/) | Represents html version of component. |

