Test for form.submitme.x or form.submitme.y (the x and y report the coordinates 
clicked on the image - has a few cool uses)

Hope this helps,

Matt

> -----Original Message-----
> From: Les Mizzell [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 03, 2002 9:28 PM
> To: CF-Talk
> Subject: Form Button as Image question
> 
> 
> I oughta know this:
> 
> When using a standard HTML form button:
> 
> <input name="SubmitME" type="submit" id="SubmitME" value="Submit">
> 
> You can then check:
> 
> <cfif IsDefined("FORM.SubmitME")>
> 
> ..and direct your app off wherever you need to go.
> 
> 
> However, I'm using an IMAGE for the submit button:
> 
> <input name="SubmitME" type="image" id="SubmitME" value="Submit"
> src="submit.gif">
> 
> When doing that, the form variable isn't getting passed 
> along, so using:
> 
> <cfif IsDefined("FORM.SubmitME")>
> 
> ..returns false instead of true.
> 
> 
> How can I get around this?
> 
> Thanks
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to