Which is why I mailed a few days asking what was the code on the action page doing as I suspected as much :)
Kola > -----Original Message----- > From: Adrian Moreno [mailto:[EMAIL PROTECTED] > Sent: 15 March 2005 17:04 > To: CF-Talk > Subject: Re: OT: Image Submit button > > > I have another problem with a submit button. It works well as input > > type="submit" and moves on to the next ten records, but when I change > > it to an image it seems to just refresh the page but not go to the > > next records. > > If you output form.fieldnames, you'll see what the problem is. > > <input type="submit" name="foo" value="Submit Form"> submits the variable > "foo". > > Therefore, <cfif IsDefined("form.foo")> returns true. > > <input type="image" name="foo" src="submit.gif"> submits differently based > on the browser. MSIE submits "foo.x" and "foo.y". Mozilla (Firefox) > submits "foo.x", "foo.y" AND "foo". > > Therefore, if you're only checking <cfif IsDefined("form.foo")> when using > an image submit button, it will only return true in Mozilla browsers. You > should check <cfif IsDefined("form.foo.x")> to return true in both MSIE > and Mozilla. > > HTH, > > Adrian > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:198834 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54