Forum OpenACS Development: Re: multiple hidden widget?

Collapse
Posted by Jeff Lu on
The behavior that I meant is that the hidden widget can have multiple values.

<input type="hidden" name="hidden1" value="1">
<input type="hidden" name="hidden1" value="2">
<input type="hidden" name="hidden1" value="3">

I tried this
template::element create formname hidden1 -widget hidden -value 1
template::element create formname hidden1 -widget hidden -value 2

But it will result in an error since the element hidden1 is already defined.