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:
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