In-Depth with CGI.pm - Creating an Image Based Submit Button
Thursday September 6, 2007
Tired of the old, standard submit buttons? Here's a quick CGI.pm way to get an image based submit button for your forms. Not only will this submit the form when the image is clicked, but it will return the x/y coordinated of the click as a parameter set along with the rest of the form fields, so you could even do different things based on where the user clicks the image. Continuing our tutorial on creating HTML form elements with CGI.pm, let's look at how to create buttons from images with CGI.pm.
In-Depth with CGI.pm - Creating an Image Based Submit Button
In-Depth with CGI.pm - Creating an Image Based Submit Button
