in reply to Two cgi buttons in the same form
<input type="submit" name="go" value="Go!"/> <input type="submit" name="else" value="Something else!"/>
update
Just to clarify the processing but the same CGI application (as specified in the From action) would receive the information from both buttons. It would be up to the application to take a different course of action depending on which button was pressed.
If you really want to submit to different forms then you will have to resort to javascript to change the action of the form before you submit.
|
|---|