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 have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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:
Topic revision: r2 - 2008-03-02 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.