AmpForm Class

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

Namespace:  Aspose.Email.Amp
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.2
Syntax
public class AmpForm : AmpComponent

The AmpForm type exposes the following members.

Constructors
  NameDescription
Public methodAmpForm
Initializes a new instance of the AmpForm class
Properties
  NameDescription
Public propertyAction
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
Public propertyActionXhr
Specifies a server endpoint to handle the form input and submit the form via XMLHttpRequest (XHR).
Public propertyAttributes
AMP provides a set of common attributes that are extended to many AMP components.
(Inherited from AmpComponent.)
Public propertyFallback
A fallback is a convention that allows the element to communicate to the reader that the browser does not support the element.
(Inherited from AmpComponent.)
Public propertyFieldset
List of fields.
Public propertyMethod
The method attribute tells the server about the request method.
Public propertyPlaceholder
The element marked with the placeholder attribute acts as a placeholder for the parent AMP element. If specified, a placeholder element must be a direct child of the AMP element.
(Inherited from AmpComponent.)
Public propertyRequiredScript
Required script that muct be added to head section.
(Overrides AmpComponentRequiredScript.)
Public propertyTarget
Indicates where to display the form response after submitting the form.The value must be _blank or _top.
Methods
See Also