Tags:
create new tag
view all tags

Question

I want to search for a text in child topics in a particular parent topic. The following code works to search for the text "% SEARCH{"META.TOPICPARENT.name=\"KnowledgeArticles\";Product" web="Support" type="regex" scope="text" nosearch="on"}%" How do I pass the text "Product" from a text box to this search string?

I am new to Twiki and not very familiar with the way the submit function works.

thanks,

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Linux
Web server: Apache
Perl version: 5
Client OS: Windows
Web Browser: IE
Categories: Search

-- PriyaSeth - 13 Jun 2006

Answer

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.

Use a syntax like:

%URLPARAM{ "textboxname" encode="entity" }%

At the proper place in your search string, and it will be replaced with a url param value if one is sent.

-- SteffenPoulsen - 25 Jun 2006

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