Tags:
create new tag
view all tags

Question

I've written an events system using TWiki

I have a "Due Date" as a form field & currently display a calendar by searching for "[D]ue date" & creating bulleted lists for the Calendar Plugin to use

I thought I'd add a repeating mechanism by a series of lines hidden within comments all of the format "Due Date value = " to imitate the layout of the meta data & set multiple on in a search

But it doesn't matter how many times this occurs in the text body of a topic. If the search string occurs in the memta data it is found once - and once only the multiple doesn't work.

I'm now using "Repeat =" & it works fine, so the error is in the SEARCH

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Gentoo
Web server: Apache
Perl version: 5.8
Client OS: XP
Web Browser: Firefox
Categories: Search

-- ChrisHogan - 25 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.

The multiple="on" switch only works for text body, not for meta data. You can get at multiple form fields values with the $formfield() token in the format="..." parameter.

Setting to answered, if needed feel free to re-open with specifc question & example.

-- PeterThoeny - 02 Mar 2008

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