in reply to Re: HTML::Template question.
in thread HTML::Template question.

You've hit the nail on the head.

I could pass the FORM TEMPALTE through CGI::FormBuilder, parse it to recover the JS for the HEAD and put that into one <TMPL_VAR ...> and the put the HTML for the BODY into another <TMPL_VAR ...>. Sounds like a not so difficult piece of code.

I just got an email back from Nathan Wigger (author of CGI::FormBuilder) to say that in v3.0 you will be able to pass a HTML::TEmplate object into FormBuilder, this would make it trivial.

See, amazing what a fresh brain and another mug of coffee can do to a problem :)

jdtoronto