auFormFieldSet: Difference between revisions
Appearance
Misterhaan (talk | contribs) m PHP:Class:auFormFieldSet moved to auFormFieldSet |
Misterhaan (talk | contribs) m change categories |
||
Line 17: | Line 17: | ||
''See [[auForm#Public_Functions|auForm Functions]] for specifics -- all functions beginning with Add (except for <code>AddFieldSet()</code>) can also be used on an auFormFieldSet object. | ''See [[auForm#Public_Functions|auForm Functions]] for specifics -- all functions beginning with Add (except for <code>AddFieldSet()</code>) can also be used on an auFormFieldSet object. | ||
[[Category:auLib|FormFieldSet]] | |||
[[Category:Class|auFormFieldSet]] | |||
[[Category:PHP|auFormFieldSet]] | [[Category:PHP|auFormFieldSet]] | ||
Revision as of 14:45, 16 July 2007
The auFormFieldSet class represents a set of fields that are grouped together (using an HTML <fieldset>). It is part of the auLib package.
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 (except for AddFieldSet()
) can also be used on an auFormFieldSet object.