|No such thing as a small change|
TemplateToolkit and CGI Formsby bibo (Pilgrim)
|on Oct 20, 2004 at 12:49 UTC||Need Help??|
bibo has asked for the
wisdom of the Perl Monks concerning the following question:
Greetings monks, as I wave the white flag of surrender
I am going in circles trying to build a cgi form inside TemplateToolkit. I want the form action to return to the same runmode, or anywhere else for action processing, but no matter what I do, it goes back to the first runmode/web page.
Most items I put in the action section cause an empty html page to be rendered. This example works, but takes me back to index.tt2 instead of sticking at page3.tt2.
Attempts to code a form in perl in the pm-module which accompanies this tt2 app have had similar results. I had a similar form in HTML::Mason and had no problem making it come back to the same form for digesting the results, but my searches about Template::Toolkit and cgi forms have turned up no useful info.
UPDATE:I realized I forgot to mention I am running this under CGI::Application (the runmode comments give this point away)
thanks in advance