Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Harnessing CGI::FormBuilder's js writing abilities . . .

by hesco (Deacon)
on Jan 28, 2009 at 01:31 UTC ( [id://739398]=perlquestion: print w/replies, xml ) Need Help??

hesco has asked for the wisdom of the Perl Monks concerning the following question:

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++; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://739398]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2024-04-24 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found