TWiki::Form
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.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Daya Bay? Send feedback Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiFormDotPm. |