OK, I'm stuck.
I figured all it would take would be to append the javascript includes to the header_stuff variable with
upvar #$level header_stuff header
append header "javascript stuff"
but that doesn't work. Am I confused about which stack level we are at when rendering the form? This is in packages/acs-templating/tcl/form-procs.tcl.
Thanks.
--cro