Previous Next blank.gif Home Page

Class Form - Define a user filled form. Uses POST method.


SYNOPSIS

import HTMLgen
class Form
  def __init__(self, cgi = None, **kw)
  def __repr__(self)
  def append(self, *items)

DESCRIPTION

cgi is the URL to the CGI processing program. Input objects (any others as well) are appended to this container widget.

def append(self, *items)

Append any number of items to the form container.

Keywords

name
name of the form
submit
flag indicating if a Submit button should automatically be appended to the form.
reset
flag indicating if a Reset button should automatically be appended to the form.
target
set a TARGET attribute
enctype
specify an Encoding type.
onSubmit
script, which is executed, when the form is submitted

SEE ALSO

HTMLgen


Previous Next blank.gif Home Page
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedric@phoenix.net
Generated: Mon Dec 2 1996