in reply to Reload a script with a new value for input when submit is clicked on an html form
[ The OP has been updated to incorporate the following code. Originally, it didn't use CGI, and $text_input was initialised from the constant unconditionally. ]
use CGI; my $cgi = CGI->new(); my $text_input = $cgi->param('text') || "The quick brown fox jumped ov +er a lazy dog.";
Update: Added missing ";" as per reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reload a script with a new value for input when submit is clicked on an html form
by Lady_Aleena (Priest) on Feb 23, 2010 at 18:02 UTC | |
by ikegami (Patriarch) on Feb 23, 2010 at 18:54 UTC | |
by Lady_Aleena (Priest) on Feb 23, 2010 at 19:00 UTC |