Home | Gifts |
text
type is mapped
to TWiki::Form::Text
and the checkbox
type to TWiki::Form::Checkbox
.
The TWiki::Form::FieldDefinition
class declares default behaviours for
types that accept a single value in their definitions. The
TWiki::Form::ListFieldDefinition
extends this for types that have lists
of possible values.
$form
- topic name to read form definition from
$def
- optional. a reference to a list of field definitions. if present, these definitions will be used, rather than those in $form
.
$web
the web of the topic being rendered
$topic
the topic being rendered
$meta
the meta data for the form
$query
- the query
$metaObject
- the meta object that is storing the form values
$name
- name of a form field (value of the name
attribute)
$name
- name of a form field (value of the name
attribute)
TWiki::Form::FieldDefinition
, or undef if the form does not
define the field.
Revision r5 - 2008-01-22 - 03:21:35 - TWikiContributor | Edit |