OK, and with my appreciation to
esper and
saberworks, for their pointers in response to a previous question (
Multi-form pages with CGI::FormBuilder and HTML::Template), I'm wondering if anyone has experience taking the javascript which is written for you by CGI::FormBuilder and handling that yourself, not letting the ->render() method send it directly to the header.
I'm trying to integrate multiple forms and templates into a single web page and would hate to lose all that useful javascript Sam Tregar's module is writing for me. Is there any way to grab it, as each form is rendered, compile it and serve it when I was ready to send cookie and headers?
-- Hugh Esco
UPDATE:
Data::Dumper::Dumper(\$form)revealed lots of details about the javascript in its parameters. On further study, this may yield useful results. But in the mean time, I'd still certainly appreciate a clue from someone who might have one. Thanks.
if( $lal && $lol ) { $life++; }
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.