%FORMFIELDLIST{"field names"}%
| Parameter: | Description: | Default: |
|---|---|---|
"field names" | A list of TWiki form field names separated by comma. | required |
topic="..." | Topic where form data is located. May be of the form Web.TopicName. | Current topic |
format="..." | Format string. $value expands to the field value. $title and $name expand to the field title as specified in the TWiki form and the field title without spaces. | "$title=$value " |
default="..." | Text shown when no value is defined for the field. | "" |
alttext="..." | Text shown when field is not found in the form . | "" |
separator="..." | Line separator between rendered entries. | Newline "$n" |
$n expands to a newline for the complete rendered output.
%FORMFIELDLIST{"ProjectName, ProjectLeader, ProjectStatus" topic="Projects.SushiProject" separator=". " default="(Field $title not set)" alttext="_$title_ field not found"}%
%FORMFIELDLIST{"ProjectName, ProjectLeader, ProjectStatus" topic="Projects.SushiProject" format=" * $title: $value." default=" * $title: not set." alttext=" * $title: not found."}%
%<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%
data/debug.txt) FormFieldListPlugin.zip in your twiki installation directory. Content: | File: | Description: |
|---|---|
data/TWiki/FormFieldListPlugin.txt | Plugin topic |
data/TWiki/FormFieldListPlugin.txt,v | Plugin topic repository |
lib/TWiki/Plugins/FormFieldListPlugin.pm | Plugin Perl module |
configure in your TWiki installation, and enable the plugin in the {Plugins} section.
%FORMFIELDLIST{"TopicClassification,InstalledOnTwikiOrg,NotFound,DemoUrl" format="$title: $value." default="(Field $title not set)" alttext="_$title_ field not found."}% is
| Plugin Author: | TWiki:Main/BerndRaichle |
| Plugin Version: | 01 Oct 2004 (V1.000) |
| Change History: | |
| 01 Oct 2004: | Initial version |
| TWiki Dependency: | $TWiki::Plugins::VERSION 1.024 |
| CPAN Dependencies: | none |
| Other Dependencies: | none |
| Perl Version: | 5.005 |
| TWiki:Plugins/Benchmark: | GoodStyle nn%, FormattedSearch nn%, FormFieldListPlugin nn% |
| Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/FormFieldListPlugin |
| Feedback: | http://TWiki.org/cgi-bin/view/Plugins/FormFieldListPluginDev |