On Sat, 23 Sep 2006 14:21:50 -0400 "RICHARD FERNANDEZ" <[EMAIL PROTECTED]> wrote:
> I'm trying to create an HTML form that will refresh itself based on user > input. In the POD for CGI it says that you can set the value of a named > parameter by using something like: > > $query->param(-name=>'foo', -value=>'the value'); Make that line $query->param(-name=>'foo', -value=>"$the_value"); Then somwhere at the start where you get the variables; my $name = $query->param('name')||''; if ($name =~/mary/i){ $the_value = "Howdy Mary" } How you do it depends on your workflow/logic Owen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>