[Templates] Way of using CGI and checkboxes is giving problems
Andy Wardley
abw@andywardley.com
Tue, 26 Nov 2002 14:38:12 +0000
Rafael Caceres wrote:
> Using [% query.end_form.list.join %] instead of just [% query.end_form
> %] worked like a charm, thanks a lot.
In fact, you don't even need the 'list', you can just write:
[% query.end_form.join %]
If query.end_form returns a single item, TT will automagically upgrade
it to a single item list in order to apply the join list virtual method.
So you get a string back either way, containing the single item, or
the concatentation of multiple items.
A