create new tag
, view all tags

FormFieldListPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on FormFieldListPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Feedback on FormFieldListPlugin

The FormFieldListPlugin plugin provides an extended version of the predefined variable to access not only one, but a list of form field values.

Here we describe limitations of the plugin, how to fix them, discuss new features people would like to see, and how to implement them.



I have the idea to create a TWiki web containing descriptions of books and other literatur. To provide a uniform set of entries for each book (author, title, publisher, ISBN etc.) a TWiki Form seems to be a good choice for me. This I prepared a form topic containing the form description. In addition this topic includes the part to be rendered (within ... ) which is included in each book description topic.

The predefined variable has some restrictions because each one is rendered by its own. Thus a series of where the field values are formatted as list items does not form a single list but a series of lists containing one item.

To remove this restriction FormFieldListPlugin implements a variable %FORMFIELDLIST% which can be used with a comma-separated sequence of form field names. Because the rendering is done for the whole output of this variable, to get a list or a table containing all field values is trivial.


It is my first attempt writing a TWiki plugin :-). And I am still experimenting with all the features, hooks, and whistles of TWiki.


  • %FORMFIELDLIST% is in principle backward compatible to . Why not replace/override the predefined variable with the extended one.
  • Probably more options from are useful (e.g., header).
  • Wildcard field name "*" to get all remaining field values (in definition order).

-- BerndRaichle - 04 Oct 2004


Looks useful, but... did you consider rolling your code into the FormFieldsPlugin ?

-- MartinCleaver - 01 Oct 2004

No, writing FormFieldListPlugin I did not thought on editing forms. The plugin is intended to simplify showing form field values in the main topic text.

Looking at FormQueryPlugin it seems that this plugin either contains the capabilities of FormFieldListPlugin or can be extended to do so.

-- BerndRaichle - 04 Oct 2004

.zip checked into CVSplugins:FormFieldListPlugin

-- WillNorris - 23 Nov 2004

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2004-11-23 - WillNorris
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.