create new tag
, view all tags


I really like the BasicForm used here on TWiki.org and added the same form to my own TWiki installation. I set the WEBFORMS variable to BasicForm in my web preferences pages, both for the TWiki web where I have the BasicForm topic and for my own web where I want to use it. I then added the form to WebTopicEditTemplate so that it would always appear when a user creates or edits a topic. I also added a search function to several of my pages that referenced the TopicClassification aspect of BasicForm. An example is this one: %SEARCH{ "[T]opicClassification.*(td..td|value\=).*[B]estPractices" casesensitive="on" regex="on" nosearch="on"}%

Everything worked briefly, but then something got changed (I'm not sure what I did that actually broke it) and now everytime I try to create a new topic I get the "oopsnoformdef" message which is both cryptic and useless. It suggests setting the WEBFORMS variable--which was already set, or "Creating a suitable Form Definition topic" which I don't understand. Isn't the BasicForm topic I created with the actual form considered the Form Definition topic? It also tells you how to view the meta data, but doesn't tell you how to edit it (nor have I found a good topic on here that does the same--but I've seen lots of references to being able to edit the meta data). Further, when I click on the "View meta topic text" link it brings up the content for pages that don't exist yet where it describes the "Go" feature, how to search, and provides a link for creating the new topic. This page obviously doesn't have the meta data that BasicForm creates.

Deleting BasicForm and every single reference to it, then recreating, helped the first time I made a change to BasicForm and ran into this problem, but that trick isn't working now. Apparently I'm missing something.

I've spent a lot of time trying to figure out how to fix this and read many topics on TWiki.org with lots of arguing about meta data (obviously I'm not the only person who has problems with it), but I still can't find any good information about how to actually fix the problems once they happen.

Added, I changed the first mention of BasicForm to link to the page on this site to show an example of the form I used. I changed the values for TopicClassification and the tooltip for TopicSummary. Otherwise it is the same.


TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SunSolaris
Web server: Apache Vers?
Perl version: ?
Client OS: Windows 2000
Web Browser: IE 6.x

-- AmandaSmith - 14 Feb 2006


ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Not sure what is wrong. The message is shown if you edit a topic that has a form (e.g. BasicForm), and the form definition topic BasicForm is missing / has an invalid format. Things to check:

  • The table format of your BasicForm
  • Forms work only in the current web, e.g. you can't reference forms defined in another web.
  • Can you create a free floating topic? E.g. by entering XyzTest in the go box.

-- PeterThoeny - 14 Feb 2006

Bullet 1. The table format should be fine, it displays properly when I go to BasicForm and I didn't change any aspects of the actual table formating when creating it. All I changed were some of the values.

Bullet 2-3. I was in fact trying to reference it from another web (I guess specifying which web it is from in the variable setting of your WebPreferences isn't good enough). I think this may actually be the problem. I just tried creating a free floating topic in the same web as BasicForm and it worked fine. Interestingly enough, when I tried to create a free floating topic even in a web that wasn't trying to reference the BasicForm it still broke (as it did in the web I was trying to use it in). Very bizarre.

Copying the BasicForm topic into my other webs (after first removing references to it in WebPreferences and WebTopicEditTemplate) and then re-adding the references to it did work. Thanks for the tip. Another good point that should be added into the documentation somewhere.

-- AmandaSmith - 15 Feb 2006

Any help in improving the doc is appreciated! smile

-- PeterThoeny - 15 Feb 2006

Another quick question, how do I handle this issue if I only want to use the form in one web, but want it to come up every time a user creates or edits a topic (and therefore needs to be in the WebTopicEditTemplate which is used by all webs)? Is there a way to specify a WebTopicEditTemplate for each web?

-- AmandaSmith - 15 Feb 2006

Simple create a WebTopicEditTemplate in those webs, and attach the form to it. There is a link in each WebPreferences topic to the local WebTopicEditTemplate.

-- PeterThoeny - 15 Feb 2006

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2006-02-15 - PeterThoeny
  • 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.