Home | Gifts |
$web
- the web containing the topic being edited
$topic
- the topic being edited
Render the field for editing. Returns two chunks of HTML; the
$col0html
is appended to the HTML for the first column in the
form table, and the $col1html
is used as the content of the second column.
undef
.
$meta
as a set of hidden fields.
$query
, a $meta
object, and an array of $old
field entries,
then populate the $meta with a row for this field definition, taking the
content from the query if it's there, otherwise from $old or failing that,
from the default defined for the type. Refuses to update mandatory fields
that have an empty value.
Return $bValid true if the value in $meta was updated (either from the
query or from a default in the form.
Return $bPresent true if a value was present in the query (even it was undef)
Revision r2 - 2015-11-29 - 10:27:04 - TWikiContributor | Edit |