Skip to main content
March 12, 2010
Question

IE 8 / Vista not recognizing submit button

  • March 12, 2010
  • 4 replies
  • 1132 views

Here is the code for a simple form at http://www.versaframe.com/catalog/button.cfm.    When you first visit the page you should see a Review Order button.   After pressing the button you should see the text "Review".    This form works fine except when using IE on Vista where it does not appear to recognize the Submit button.   Also this form works on other servers, so I think it may have something to do with the server configuration.   Can anybody help?    Thanks!

<html>

<head>

</head>

<body>

<cfif parameterexists(submit)>

Review

<cfelse>

Not Review

<form action="button.cfm" method="post">

<input type=submit name=submit value="Review Order">

</form>

</cfif>

</body>

</html>

    This topic has been closed for replies.

    4 replies

    Fernis
    Inspiring
    March 14, 2010

    A side note: Avoid using parameterexists() function. It's deprecated several CF versions ago.

    Use IsDefined("submit") instead of parameterExists(submit).

    -Fernis

    Inspiring
    March 12, 2010

    A clever thing that you might be able to do here is to use a calculated field, or a database view as the case may be, which presents the desired value ("duration in minutes") as the result of any query that involves that field.  Although user code (typically...) cannot update that field, they do not have to embed "the right calculation" repetitively into their code.

    (And if you get funky with database "triggers," you might even be able to make the field updateable, such that the database server now does the necessary adjustments, automagically.)

    User code now gets the answer that they want, and the code to do it is centralized in the database server itself.

    Inspiring
    March 12, 2010

    Also as a basic start:

    1. Use a client-side browser debugger such as Firebug or Internet Explorer's Developer Toolbar to look at what the client is actually sending and what response is actually received.
    2. Examine any server logs.  Set up a test case, tell the IT folks to start the tape-recorder , mash the ol' button, and a few seconds later tell 'em to hit the stop-button on the recorder and send the log snippet to you.

    One thing that is absolutely true about a problem like this is:  you gotta see it.  "Put your eyeballs to it," and when you do, it ought to be fairly obvious.  Until then, though, you're just shootin' blanks.  There are too many possibilities to "guess."

    There are also going to be lots and lots and lots of "red herrings."  IE8, for example, is probably a herring.  So, probably, is Vista.  They may be perfectly valid correlations but it is highly probable that they don't have anything to do with it.  They just make it all the more difficult to eyeball "the one clue that cracks the case wide open."

    Participating Frequently
    March 12, 2010

    I'm using IE8 on Vista and it works correctly for me. After clicking Submit, I see "Review".

    March 12, 2010

    Deb, can you tell me what version of IE 8 you are using?   Thanks!

    Participating Frequently
    March 15, 2010

    I've got 8.0.6001.18882