[pmwiki-users] multiple values for a single form element

Patrick R. Michaud pmichaud at pobox.com
Fri Aug 25 14:59:46 CDT 2006


On Thu, Aug 24, 2006 at 04:12:05PM -0700, Martin Fick wrote:
> > For example, if my form contains
> > 
> > (:input checkbox potato yellow:)Yellow (:input
> > checkbox potato red:)Red
> 
> I'm not sure if this will work, but to use the above
> idea, it would need to look like this 
> 
> (:input checkbox potato[] yellow:)Yellow 
> (:input checkbox potato[] red:)Red

And yes, this works in PmWiki (by design, no less :-).  

To see a working example and its results, take a look at 
http://www.pmwiki.org/wiki/Test/CheckBoxArray .

Pm




More information about the pmwiki-users mailing list