We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Codev Web>UrlParamWithSelectMultiple (16 Mar 2004, PeterThoeny)
Tags:
create new tag
, view all tags

Implemented: New multiple=on attribute for URLPARAM

Two new attributes for %URLPARAM{}%:

  • multiple="on"
    • If set, gets all elements of a <select multiple="on">. Possible to specify a format instead of "on", with $item indicating the element, e.g. multiple="Option: $item"
  • separator=", "
    • Set the separator between multiple selections, default is new line. Only relevant if multiple is specified

Test: (Ctrl-select multiple items)

URLPARAM{ "qSel" }

URLPARAM{ "qSel" multiple="on" }

URLPARAM{ "qSel" multiple="on" separator=", " }

URLPARAM{ "qSel" multiple="($item)" separator=", " }

URLPARAM{ "qSel" multiple="Option: " separator="%BR%" }

Contributors:
-- PaulineCheung - 16 Mar 2004
-- PeterThoeny - 16 Mar 2004

Discussions

This is implemented on TWiki.org but is not yet in TWikiAlphaRelease.

-- PeterThoeny - 16 Mar 2004

Topic revision: r2 - 16 Mar 2004 - 08:04:10 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback