Dave Hodgkinson <[EMAIL PROTECTED]> writes:
> I get:
>
> <form method="post" action="/usr/bin/tpage"
>enctype="application/x-www-form-urlencoded">
> <input type="checkbox" name="keyword_id" value="11" />settlement
> <input type="checkbox" name="keyword_id" value="9" />Payments
> ARRAY(0x83159d0)
At Mark F's request, a look at the compiled template gives:
*snip*
eval { BLOCK: {
# USE
$stash->set('q',
$context->plugin('CGI'));
$output .= $stash->get(['q', 0, 'start_form', 0]);
$output .= $stash->get(['q', 0, 'checkbox_group', [ { 'Name' => 'keyword_id',
'Values' => [ 1, 2, 3, 4, 5 ], 'Default' => 3, 'Labels' => { '1' => 'one', '2' =>
'two', '3' => 'three', '4' => 'four', '5' => 'five' } } ], 'join', 0]);
$output .= $stash->get(['q', 0, 'end_form', 0]);
} };
if ($@) {
$error = $context->catch($@, \$output);
die $error unless $error->type eq 'return';
}
return $output;
*snip*
Is that meaningful?!!
--
Dave Hodgkinson, Wizard for Hire http://www.davehodgkinson.com
Editor-in-chief, The Highway Star http://www.thehighwaystar.com
Interim Technical Director, Web Architecture Consultant for hire
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates