Tags:
create new tag
, view all tags

Question

I'd appreciate if somebody can help me understand the form templating system.

I have created a topic TestForm in the TWiki.Test web and put the following in it:

Name Type Size Values Tooltip message
TopicClassification select 1 NoDisclosure, PublicSupported, PublicFAQ blah blah...
OperatingSystem checkbox 3 OsHPUX, OsLinux, OsSolaris, OsWin blah blah...
OsVersion text 16   blah blah...

But, when I click on "TopicClassification" I do NOT see the "values" inside a select box. They appear as bullets. Similarly, I see bullets when clicking on OperatingSystem and not checkbox. Test web has been enabled for forms.

What else do I need to do? Is there a clear step-by-step example to create a working form?

Thanks

  • TWiki version: Dec 2001
  • Web server: Apache
  • Server OS: Linux
  • Web browser: IE5.5
  • Client OS:

-- TWikiGuest - 22 Nov 2002

Answer

Since no one else has answered so far, I'll make this suggestion -- do a search in the Support and Codev webs on "form" in a page (topic) name, and try reading some of those pages. I tried to put some information on the page FormsConfusion. (I assume you reviewed the documentation in the TWiki web.)

Good luck -- for me, it's not as easy as it could be, and since I haven't used forms yet (only categories, the old version of forms), I don't really know enough yet to provide any better explanation.

I might mention that the reason you see the bulleted list you refer to above is because your form includes an explicit reference to the page Know.TopicClassification which is the page with the bulleted list.

-- RandyKramer - 24 Nov 2002

The TopicClassification and OperatingSystem are just help topics, click on it to learn what it means.

You will see the select box and checkboxes when you edit a topic that has this form attached.

A form can be attached to a topic in these ways:

  • Manually add the form. Click on "Add form" when you edit the topic. The form must be listed in the WEBFORMS setting in your WebPreferences topic.
  • Enable the form for the whole web (e.g. by default for each new topic created). Add the form to the WebTopicEditTemplate of your web. Read TWikiForms.
  • Specify a form at topic creation time based on the CGI parameter formtemplate and/or templatetopic. Read TWikiForms and TWikiTemplates.

-- PeterThoeny - 26 Nov 2002

Topic revision: r3 - 2002-11-26 - PeterThoeny
 
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.