Unfortunately John, no you aren't doing anything wrong in your base code
that worked in IE6. I had to rewrite a number of applications for this very
reason as our design team decided Image buttons were what we were going to
use and I saw this behavior in newer browsers. Unlike other browsers that
post both the .X, .Y and main variable, IE8 (and IE7, I think) don't. Yes,
you will need to take this into account on all your applications,

Phil

On Wed, Feb 23, 2011 at 8:27 AM, John Pullam <[email protected]>wrote:

>
> I am testing my application on an IE8 system running Win 7 and CF 9. I do
> not know if any of these are relevant but the problem does not occur on
> Firefox or Chrome.
>
> Essentially, IE is not passing the FORM.Submit to my post-back form
> processor. It passes everything else, including Submit.X and Y!!
>
> My form is as follows:
>
> <cfform>
> <table>
> <tr><td width="100"><b>First Name</b></td>
> <td width="500"><cfinput name="FirstName" type="text" required="No"
> Size="20" /></td></tr>
> <tr><td><b>Last Name</b></td>
> <td><cfinput name="LastName" type="text" required="No" Size="20"
> /></td></tr>
> </table>
> <input type="hidden" name="Submit2" value="any">
> <p><cfinput name="Submit" type="image" value="Submit"
> src="../Buttons/MSearch.png" /></p>
> </cfform>
>
> When I get the postback on IE8, I use a cfdump to see what I got, and the
> FIELDNAMES for the form are: FIRSTNAME,LASTNAME,SUBMIT2,SUBMIT.X,SUBMIT.Y
> but not SUBMIT!!!
>
> As I use this technique in other applications to capture a post-back, I'm
> rather concerned. Am I doing something wrong?
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342511
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to