Priority: Normal
Current State: Closed
Released In:
Target Release: n/a
Applies To: Extension
Component: FormPlugin
Branches:
I create a little form:
%STARTFORM{name="myform" action="view"}%
%FORMELEMENT{name="Name" type="text" title="Enter your name:" mandatory="on"}%
%FORMELEMENT{name="Option" type="checkbox" title="Choose option:" options="1,2,3"}%
%FORMELEMENT{name="action" type="submit" buttonlabel="Submit"}%
%ENDFORM%
* Name = %URLPARAM{"Name"}%
* Option = %URLPARAM{"Option"}%
...produces a form looks like this:
After pressing the submit-button only the first choice of option will be selected:
--
RalfKrueger - 21 Feb 2010
You must use
%URLPARAM{"Option" multiple="on"}%
.
Unit tested and documented in release 1.6.
--
ArthurClemens - 26 May 2010