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

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