Skip to main content
Participating Frequently
9月 29, 2015 7:48 午前 UTC
質問

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

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.

このトピックへの返信は締め切られました。

返信数 5

Legend
10月 2, 2015 4:31 午後 UTC

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
10月 2, 2015 5:32 午後 UTC

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
9月 29, 2015 11:47 午前 UTC

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,

^_^

翻訳
ViktorStamp作成者
Participating Frequently
9月 30, 2015 7:48 午前 UTC

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
10月 2, 2015 7:28 午前 UTC

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.

翻訳