FormEditor class
FormEditor class
This class represents the editor over the HTMLFormElement
that creates a easier way for .net developers to edit the html forms.
The FormEditor type exposes the following members:
Properties
Property | Description |
---|---|
form | The original HTMLFormElement that is associated with current instance of FormEditor . |
count | The number of form controls in the form. |
method | HTTP method [IETF RFC 2616] used to submit form. See the method attribute definition in HTML 4.01. |
action | Server-side form handler. See the action attribute definition in HTML 4.01. |
Returns the element by specified index.
Indexer
Name | Description |
---|---|
[index] | The index of the element |
Methods
Method | Description |
---|---|
create | Creates a new FormEditor based on HTMLFormElement . |
create | Creates a new FormEditor based on HTMLFormElement selected from the HTMLDocument.forms collection by index. |
create | Creates a new FormEditor based on HTMLFormElement selected from the document by id. |
add_input | Creates a new InputElement and adds it to the end of the form. |
add_input | Creates a new InputElement and adds it to the end of the form. |
create_new | Creates a new HTMLFormElement and associated it with FormEditor . HTMLFormElement is created in the detached from the document state; in order to attach it to the document, please select proper location and use Node.append_child method. |
See Also
- module
aspose.html.forms
- class
FormEditor
- class
HTMLFormElement
- class
InputElement