IHTMLFormElement Object
Multiple objects IHTMLFormElement |
Represents a FORM element in an HTML document. The IHTMLFormElement object provides access to a limited number of properties and methods related to the FORM element. For access to all properties and methods, use the FPHTMLFormElement object.
Using the IHTMLFormElement Object
Use the forms property to return an IHTMLElementCollection collection that represents a collection of all the FORM elements in a document. Use the Item method to return an IHTMLFormElement object that accesses a specific FORM element, referenced by ordinal number or by the value of the id attribute. The following example accesses the first FORM element in the active document.
Dim objForm As IHTMLFormElement
Set objForm = ActiveDocument.forms.Item(0)
Properties | action Property | dir Property | elements Property | encoding Property | Length Property | method Property | name Property | onreset Property | onsubmit Property | target Property
Methods | item Method | reset Method | submit Method | tags Method
Parent Objects | FPHTMLButtonElement Object | FPHTMLInputButtonElement Object | FPHTMLInputFileElement Object | FPHTMLInputHiddenElement Object | FPHTMLInputTextElement Object | FPHTMLObjectElement Object | FPHTMLOptionElement Object | FPHTMLSelectElement Object | FPHTMLTextAreaElement Object | IHTMLButtonElement Object | IHTMLInputButtonElement Object | IHTMLInputFileElement Object | IHTMLInputHiddenElement Object | IHTMLInputTextElement Object | IHTMLObjectElement Object | IHTMLOptionElement Object | IHTMLSelectElement Object | IHTMLTextAreaElement Object
Child Objects