i always do a switch on cgi.request_method, its the most portable.
<cfswitch expression=“#cgi.request_method#”>
<cfcase value=“GET”>
the form goes here
</cfcase>
<cfcase value=“POST”>
form processing here
</cfcase>
</cfswitch>
If you want to see that an image button was clicked, try this:
<input type="image" name="mysubmit" />
<cfif isDefined("Form.mysubmit.x")>
//code for imagebutton clicks
Image buttons send more than one value:
[name].x - x-coordinate of where in the image it was clicked.
[name].y - y-coordinate of where in the image was clicked.
[name] - value of the image button input.