Jump to content

auFormFieldSet

From auWiki
Revision as of 10:01, 5 February 2007 by Misterhaan (talk | contribs) (New page: The auFormFieldSet class represents a set of fields that are grouped together (using an HTML <fieldset>). ==Usage== Once an auFormFieldSet object is created, fields can be added to it usi...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The auFormFieldSet class represents a set of fields that are grouped together (using an HTML <fieldset>).

Usage

Once an auFormFieldSet object is created, fields can be added to it using the same functions that auForm provides. After an auFormFieldSet object has all its fields added, the auFormFieldSet object itself should be added to an auForm object using AddFieldSet().

Public Functions

new auFormFieldSet

new auFormFieldSet($title, $id, $class)

Creates a new fieldset object.

  • $title = Title of the fieldset, used in an HTML <legend>. Default is to not have a title.
  • $id = CSS id of the fieldset element. Default is none.
  • $class = CSS class of the fieldset element. Default is none.

Add*

See auForm Functions for specifics -- all functions beginning with Add can also be used on an auFormFieldSet object.