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

I am trying to setup a FAQ web where the question is entered in a form rather then in the body text. When the page is viewed, I want the question (=form field) to be shown inside the text. I've rtfm but left with no answer. I have experimented with META as well as with SEARCH. I would expect that this one is very easy...

-- TWikiGuest - 26 Feb 2003

Answer

There is no direct way to extract Meta data, not until we have SimplifyInternalMetaDataHandling.

Use a trick: Search for just the current topic and extract the form field(s) you want. Example:

The support status is: AnsweredQuestions

Above search is:
%SEARCH{ "^%TOPIC%$" scope="topic" regex="on" format="$formfield(SupportStatus)" nosearch="on" nototal="on" }%

-- PeterThoeny - 26 Feb 2003

Topic revision: r2 - 26 Feb 2003 - 17:19:00 - PeterThoeny
 
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