Just a comment to any others who might try this code: For some reason, when I'm using the input tag like in the example above, a click on the image causes a record to be submitted twice into the database instead of once (as though the button were clicked twice). This is wierd, because when the button is clicked it calls code that not only enters a record in a database, but also calls response.redirect to go to another page. So I'm surprised its even able to enter a record twice before going to that page. If anyone knows why this might be I'd love to know.
Thanks,
Ray