We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

How does one get a TWikiForm to work with multiple topics? I have even tried the example in the documentation, but that does not work either.

In my case, I would like to have some of the field values in a seperate table other than the form template. This way it is much easier to maintain and allow less technical users to modify the field values.

I can create a standard one topic form with now problem. It seems that all the forms that I can find here on twiki.org are just one topic forms too. When I try to break the form values out to their own topic, I basically get nothing rendered for the value section of the form for that one field.

  • TWiki version: 1-Dec-2001
  • Web server: Apache 1.3.9
  • Server OS: Solaris 2.7
  • Web browser: Netscape 4.73
  • Client OS: Solaris 2.5.1

-- GerardHickey - 14 Dec 2001

Answer

Found the problem by reading through the Perl code. The TWikiForms documentation shows examples with the web prepended to the field name (i.e. Know.TopicClassification). This will not work for multiple topic forms. The field name can not contain a reference to the web for this to work.

Either the documentation needs to be fixed or getFormDef() in TWiki/Form.pm needs to be updated to understand field name of Know.TopicClassification rather than only understanding TopicClassification? .

-- GerardHickey - 17 Dec 2001

Topic revision: r2 - 17 Dec 2001 - 15:43:00 - GerardHickey
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback