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
.
$options
- hash reference having various options. Curently the boolean option suppressValsEval is the only one supported
Name | Type | Size | Value | Tooltip message | Attributes |
---|
$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 r7 - 2014-10-05 - 11:03:28 - TWikiContributor | Edit |