Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

HTML::FillInForm

by MrCromeDome (Deacon)
on Jul 15, 2003 at 19:16 UTC ( #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
Node Status?
node history
Node Type: modulereview [id://274534]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2014-07-12 22:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (241 votes), past polls