Tags:
create new tag
view all tags

Question

Hi. I have a form that has 20 or so fields. How do I do a search using two of them as I can only find information for one.

Example Open: yes/no Tested: yes/no

How do I get a list of the Open: yes and Tested: no please

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories: Search

-- KatWinston - 18 Apr 2007

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.

To a FormattedSearch with type="regex", searching for "META:FIELD.*\"Open\".*\"yes\";META:FIELD.*\"Tested\"no\"". See also VarSEARCH and SearchPatternCookbook. The sample app TWikiInstallation has a query by example form that searches multiple fields.

-- PeterThoeny - 18 Apr 2007

Thank you so much

-- KatWinston - 18 Apr 2007

Change status to:

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-04-18 - ArthurClemens
 
  • 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.