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 - 2004-03-16 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, 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.