class HTMLFormElement

# class HTMLFormElement | The `FORM` element encompasses behavior similar to a collection and an element. More...
Full name | `DOM::HTMLFormElement`
Definition | `#include <html_form.h>`
Inherits | DOM::HTMLElement [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- HTMLFormElement ()
- HTMLFormElement (const HTMLFormElement &other)
- HTMLFormElement (const Node &other)
- HTMLFormElement & operator = (const HTMLFormElement &other)
- HTMLFormElement & operator = (const Node &other)
- ~HTMLFormElement ()
- HTMLCollection elements () const
- long length () const
- DOMString name () const
- void setName ( const DOMString & )
- DOMString acceptCharset () const
- void setAcceptCharset ( const DOMString & )
- DOMString action () const
- void setAction ( const DOMString & )
- DOMString enctype () const
- void setEnctype ( const DOMString & )
- DOMString method () const
- void setMethod ( const DOMString & )
- DOMString target () const
- void setTarget ( const DOMString & )
- void submit ( )
- void reset ( )

#### Protected Methods

- HTMLFormElement (HTMLFormElementImpl *impl)

## Detailed Description

The `FORM` element encompasses behavior similar to a collection and an element. It provides direct access to the contained input elements as well as the attributes of the form element. See the FORM element definition in HTML 4.0.

HTMLFormElement () | ### HTMLFormElement

HTMLFormElement (const HTMLFormElement &other) | ### HTMLFormElement

HTMLFormElement (const Node &other) | ### HTMLFormElement

HTMLFormElement (HTMLFormElementImpl *impl) | ### HTMLFormElement

[protected]

HTMLFormElement & operator = (const HTMLFormElement &other) | ### operator =

Reimplemented from HTMLElement.

HTMLFormElement & operator = (const Node &other) | ### operator =

Reimplemented from HTMLElement.

~HTMLFormElement () | ### ~HTMLFormElement

HTMLCollection elements () | ### elements

[const]

Returns a collection of all control elements in the form.

long length () | ### length

[const]

The number of form controls in the form.

DOMString name () | ### name

[const]

Names the form.

void setName ( const DOMString & ) | ### setName

see name

DOMString acceptCharset () | ### acceptCharset

[const]

List of character sets supported by the server. See the accept-charset attribute definition in HTML 4.0.

void setAcceptCharset ( const DOMString & ) | ### setAcceptCharset

see acceptCharset

DOMString action () | ### action

[const]

Server-side form handler. See the action attribute definition in HTML 4.0.

void setAction ( const DOMString & ) | ### setAction

see action

DOMString enctype () | ### enctype

[const]

The content type of the submitted form, generally "application/x-www-form-urlencoded". See the enctype attribute definition in HTML 4.0.

void setEnctype ( const DOMString & ) | ### setEnctype

see enctype

DOMString method () | ### method

[const]

HTTP method used to submit form. See the method attribute definition in HTML 4.0.

void setMethod ( const DOMString & ) | ### setMethod

see method

DOMString target () | ### target

[const]

Frame to render the resource in. See the target attribute definition in HTML 4.0.

void setTarget ( const DOMString & ) | ### setTarget

see target

void submit ( ) | ### submit

Submits the form. It performs the same action as a submit button.

void reset ( ) | ### reset

Restores a form element's default values. It performs the same action as a reset button.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:43 2003, using kdoc 2.0a54.