in reply to Javascript with CGI::FormBuilder and Template Toolkit

I see an underlying Bad Way™ anytime i see someone trying to generate HTML with a HERE doc and passing that off to the Template engine. That's just not the way you do things with templating. :) (you can, but you miss out on why you are seperating!)

Instead, your template code should look something like this:
<input a="[% object.href %]" class="FormField" />
And you pass just the Javascript as a param.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)