Why don't you just do it with a normal submit button and style it to use the
image?

 

<input type="submit" name="step3submit" value="continue" style="border:none;
background:url(image.gif)" />

 

That way you can still use the image but submit it properly

 

From: KNOTT, Brian [mailto:brian.kn...@suncorp.com.au] 
Sent: Wednesday, 13 October 2010 2:38 PM
To: 'cfaussie@googlegroups.com'
Subject: [cfaussie] Submitting a form

 

Guys I using images as buttons to submit form.  Bit like the code below

 

<input type="image" src="image.gif" name="step3Submit" value="continue">

 

I would normally then refer to the form field in the next page i.e. <cfset
variables.function = form.step3Submit>

 

This works fine in firefox but in IE it send through the x and y co-ords of
the image, i.e form.step3Submitx = 56.

 

Is there a way to get IE to pass the form value i.e. form.step3submit should
have a value of continue.  I need to keep the images.

 

Brian Knott |
<http://search.ourspace.int.corp.sun/PeopleResults.aspx?k=JobTitle:%22Budget
s%20and%20Forecasts%20Specialist%20EP%22> Budget and Forecast Specialist |
Group Budget, Planning  & Forecasting | Group Finance | Suncorp

Ph: 07 313 52618 | Ext: 52618 | Mob: 0404 319078 

GPO Box 1453 Brisbane QLD 4001 | Level 29, Brisbane Square, 266 George St

 <mailto:brian.kn...@suncorp.com.au> brian.kn...@suncorp.com.au

 

 

  _____  

This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of
its related entities "Suncorp".
Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13
11 55 or at suncorp.com.au.
The content of this e-mail is the view of the sender or stated author and
does not necessarily reflect the view of Suncorp. The content, including
attachments, is a confidential communication between Suncorp and the
intended recipient. If you are not the intended recipient, any use,
interference with, disclosure or copying of this e-mail, including
attachments, is unauthorised and expressly prohibited. If you have received
this e-mail in error please contact the sender immediately and delete the
e-mail and any attachments from your system.
If this e-mail constitutes a commercial message of a type that you no longer
wish to receive please reply to this e-mail by typing Unsubscribe in the
subject line.

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.





=======
Email scanned by PC Tools - No viruses or spyware found.
(Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060)
http://www.pctools.com <http://www.pctools.com/?cclick=EmailFooterClean_51> 
======= 





=======
Email scanned by PC Tools - No viruses or spyware found.
(Email Guard: 7.0.0.21, Virus/Spyware Database: 6.16060)
http://www.pctools.com/
=======

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaus...@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to