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);