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 - 2001-12-17 - GerardHickey
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.