Thanks to visit codestin.com
Credit goes to TWiki.org

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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2003-02-26 - 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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.