Skip to main content
Participating Frequently
September 29, 2015
Question

cfinput type submit not working in Internet Explorer 9 or below?

  • September 29, 2015
  • 2 replies
  • 404 views

I have a form which processes a form when a cfinput type submit is clicked (or enter is pressed) and this works fine in Firefox, Chrome and IE 10+.

However, when I check this on IE 9 or below the button does not work. the button indents when clicked as expected but nothing actually happens. Any help would be much appreciated.

Thanks.

This topic has been closed for replies.

2 replies

Legend
October 2, 2015

My recommendation, do not use CFINPUT or CFFORM. Learn jquery and jquery.validation (or a similar framework) and you'll be much happier in the long run and with much more state-of-the-art/user-friendly UI forms. CFFORM validation was useful and cool 10+ years ago but it has not kept up with client side technology.

WolfShade
Legend
October 2, 2015

I, personally and professionally, have avoided using CFFORM for ANYTHING for the last decade.  It was kind of nice for Flash forms (less hackable), until Microsoft lost a certain lawsuit and set IE so that you had to click the Flash element before it would work.

Now, CFFORM is mostly useless.  But I didn't want to suggest that to the OP (I hate it when I get that kind of reply.)

V/r,

^_^

WolfShade
Legend
September 29, 2015

It could be a JavaScript issue.

Use FireFox with the FireBug plugin to test and make sure there isn't anything wrong with the event.

If that turns up nothing, then use IE9 or IE8 and keep an eye on the error console when clicking the button and see if there is a clue, there.

HTH,

^_^

Participating Frequently
September 30, 2015

Thanks for your help.

I have Internet Explorer 10, but can see the problem when changing the browser mode to IE9 and Document Mode to IE9 standards and can see what the problem is, however when viewing the console and clicking the button nothing is appearing. Would it be possible that there is other code making it redundant?

BKBK
Community Expert
Community Expert
October 2, 2015

ViktorStamp wrote:

I have Internet Explorer 10, but can see the problem when changing the browser mode to IE9 and Document Mode to IE9 standards and can see what the problem is,

Could you let us know what the problem is that you see?

however when viewing the console and clicking the button nothing is appearing. Would it be possible that there is other code making it redundant?

Yes. WolfShade said this already.

WolfShade wrote:

It could be a Javascript issue.