in reply to Two cgi buttons in the same form

From an HTML point of view you need to give each button a name. The name of the button is then passed as a parameter to your cgi app in the normal way. E.g.

<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.