AmpForm
Contents
[
Hide
]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 |
Methods
| Name | Description |
|---|---|
| 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 | Specifies a server endpoint to handle the form input and submit the form via XMLHttpRequest (XHR). |
| get_Fieldset | List of fields. |
| get_Method | The method attribute tells the server about the request method. |
| get_RequiredScript | Required script that muct be added to head section. |
| get_Target | Indicates where to display the form response after submitting the form.The value must be _blank or _top. |
| 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 | Specifies a server endpoint to handle the form input and submit the form via XMLHttpRequest (XHR). |
| set_Method | The method attribute tells the server about the request method. |
| set_Target | Indicates where to display the form response after submitting the form.The value must be _blank or _top. |
| ToAmpHtml | Represents amp html version of component. |
| ToHtml | Represents html version of component. |