Then CGI.pm should have values for "submit1.x" and "submit1.y" if the first one is pressed, and similar for the second. So you can check for defined() values to determine which was pressed.<FORM METHOD="POST" ACTION="./yourscript.pl"> <INPUT TYPE="IMAGE" NAME="submit1" SRC="image1.gif"> <INPUT TYPE="IMAGE" NAME="submit2" SRC="image2.gif"> </FORM>
The only problem with image submits like this is that you cannot have an image reset button without resorting to JavaScript.
In reply to Re: Image Button
by Masem
in thread Image Button
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |