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 - 2003-02-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.