8/23/24 ll CSS Positioning Properties Property Description bottom Sets the bottom margin edge for a positioned box clip Clips an absolutely positioned element left Sets the left margin edge for a positioned box position Specifies the type of positioning for an element right Sets the right margin edge for a positioned box top Sets the top margin edge for a positioned box It should be as simple as, in your form: And, in your script: if ($cgi->param('Button1')) { # Button1 was clicked, do stuff... } elsif ($cgi->param('Button2')) { # Button2 was clicked, do something else... } elsif ($cgi->param('Button3')) { # Button3 was clicked, do whatever you want... } else { # No button clicked; show the form } Share Improve this answer Follow answered Feb 13, 2010 at 17:50 David Precious's user avatar David Precious 6,53411 gold badge2424 silver badges3131 bronze badges Add a comment 2 There's no limit to the number of type="submit" buttons you can have in a form. So long as they have a name/value set, only the name/value pair of the button used to submit the form will be sent to the server. There are a couple of caveats due to browser support if you're using image submit buttons, or the