Tags:
create new tag
view all tags

Question

I created a form (and template) with 10 fields to store data formatted. Now I'd like to use the same form to search the Topics. Therefore i need to create different drop-down boxes wich contain the values of the formfields. Some formfields are free text, so it shoud search in the formfield for the text which is typed in. If no text is typed in, or no value was selected in a drop-down field, these fields should be ignored in the search. I tried to solve my problem by reading the SearchPatternCookbook, but I didn't found a solution.

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: SpreadSheetPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, PreferencesPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TreePlugin, TwistyPlugin, VotePlugin, WysiwygPlugin
Server OS:  
Web server:  
Perl version:  
Client OS: MS Windows XP
Web Browser: IE 6.X
Categories: Forms, Search

-- AlexanderDietz - 21 Jan 2008

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.

As far as I can say, you'd need to create the search form by manually writing HTML. An example for such a thing can be found at Sandbox.SearchBookTitles, where the first row (the table headers) are search fields for some of the form fields.

-- HaraldJoerg - 21 Jan 2008

Thanks, it helped me to solve the Problem.

-- AlexanderDietz - 07 Feb 2008

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2008-02-07 - AlexanderDietz
 
  • 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.