document.form_name document.forms[form_number] document.forms.length
A read/write string specifying the URL to which the form is to be submitted. Initially specified by the ACTION attribute.
An array of input elements that appear in the form. Each element is a Button, Checkbox, Hidden, Password, Radio, Reset, Select, Submit, Text, or Textarea object.
The number of items in the elements array.
A read/write string that specifies the encoding method used for form data. Initially specified by the ENCTYPE attribute. The default encoding of "application/x-www-form-urlencoded" is almost always appropriate.
A read/write string that specifies the technique for submitting the form. It should have the value "get" or "post". Initially specified by the METHOD attribute.
A read/write string that specifies the name of the frame or window in which the results of submitting a form should be displayed. Initially specified by the TARGET attribute. The special names "_top", "_parent", "_self", and "_blank" are also supported for the target property and the TARGET attribute.
Reset each of the input elements of the form to their default values.
Submit the form.
An event handler invoked just before the elements of the form are reset. Specified by the onReset attribute.
An event handler that is invoked just before the form is submitted. Specified by the onSubmit attribute. This event handler allows form entries to be validated before being submitted.
The Form object represents an HTML <FORM> in a document. Each form in a document is represented as an element of the Document.forms array. Named forms are also represented by the form_name property of their document, where form_name is the name specified in the NAME attribute of the <FORM> tag.
See the descriptions of the Form properties and methods for more information about this object.