Hi folks, 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'); But it doesn't say (or at least I didn't see) anything about how to redisplay the form with the new value in the textbox (or a different textbox for that matter). The sample script at the top of the doco (perldoc CGI) creates a blank form that takes some input, a name, a "combination", and a color and displays the user input in the bottom half of the page. I would like to edit the value entered into the "name" textbox and display my edited value in the same, or possibly a different textbox. I've tried a bunch of things including the call to param() above, without success. For example, if the user types "Wilma" into the textbox, the script should populate the target textbox with my edited value, say, "Betty". Thanks in Advance for any help! richf