in reply to Re^2: cgi check button
in thread cgi check button
i want to disallow auto code executionYou're still being unclear.
Or do you mean that you want to know whether or not the submit button was pressed? If so, then you're halfway there. You have:
<input type=submit name="make ponies appear" value="Submit button label">
In your script, you would do:
my $q = new CGI; if($q->param("make ponies appear")) { # do something with the form data } else { # show the form or something else }
Or do you want something else? You'll need to be more specific.
-Thomas
"Excuse me for butting in, but I'm interrupt-driven..."
|
|---|