41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
|
head 1.1;
|
||
|
access;
|
||
|
symbols;
|
||
|
locks; strict;
|
||
|
comment @# @;
|
||
|
|
||
|
|
||
|
1.1
|
||
|
date 2006.06.25.16.26.28; author TWikiContributor; state Exp;
|
||
|
branches;
|
||
|
next ;
|
||
|
|
||
|
|
||
|
desc
|
||
|
@buildrelease
|
||
|
@
|
||
|
|
||
|
|
||
|
1.1
|
||
|
log
|
||
|
@buildrelease
|
||
|
@
|
||
|
text
|
||
|
@%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
|
||
|
%META:TOPICPARENT{name="TWikiVariables"}%
|
||
|
#VarFORMFIELD
|
||
|
|
||
|
---+++ FORMFIELD{"fieldname"} -- renders a field in the form attached to some topic
|
||
|
* Syntax: =%<nop>FORMFIELD{"fieldname"}%=
|
||
|
* Supported parameters:
|
||
|
| *Parameter:* | *Description:* | *Default:* |
|
||
|
| ="fieldname"= | The name of a [[TWikiForms][TWiki form]] field | required |
|
||
|
| =topic="..."= | Topic where form data is located. May be of the form =Web.<nop>TopicName= | Current topic |
|
||
|
| =format="..."= | Format string. =$value= expands to the field value, and =$title= expands to the field title | ="$value"= |
|
||
|
| =default="..."= | Text shown when no value is defined for the field | =""= |
|
||
|
| =alttext="..."= | Text shown when field is not found in the form | =""= |
|
||
|
* Example: =%<nop>FORMFIELD{"<nop>ProjectName" topic="Projects.<nop>SushiProject" default="(not set)" alttext="<nop>ProjectName field found"}%=
|
||
|
* Related: [[#VarSEARCH][SEARCH]]
|
||
|
|
||
|
@
|