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

HTML::FillInForm

by MrCromeDome (Deacon)
on Jul 15, 2003 at 19:16 UTC ( [id://274534]=modulereview: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $form = new HTML::FillInForm;
    my $page = $form->fill(scalarref => \$html,
                           fobject => $request);
    
  2. or download this
    <form method="post" action=<!-- TMPL_VAR NAME=action --> enctype="appl
    +ication/x-www-form-urlencoded">
        <center>
    ...
        </center>
        <input type="hidden" name=".cgifields" value="searchby" />
    </form>
    
  3. or download this
    $tmpl_form->param(
        ACTION  => "/path/to/my/script.cgi",
        DEFAULT => $request->param("searchkey"),
    );
    
  4. or download this
    <form method="post" action=<!-- TMPL_VAR NAME=action --> enctype="appl
    +ication/x-www-form-urlencoded">
        <center>
    ...
        </center>
        <input type="hidden" name=".cgifields" value="searchby" />
    </form>
    
  5. or download this
    $tmpl_form->param(
        ACTION   => "/path/to/my/script.cgi",
    ...
        NAME     => $request->param("searchby") eq "Name"    ? "true" : ""
    +,
        ADDRESS  => $request->param("searchby") eq "Address" ? "true" : ""
    +,
    );
    
  6. or download this
    $tmpl_form->param( ACTION  => "/path/to/my/script.cgi" );
    my $html = $tmpl_form->output;
    my $form = new HTML::FillInForm;
    $html = $form->fill(scalarref => \$html,
                        fobject => $request);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-19 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found