• Resolved KookRoss

    (@kookross)


    Hi,
    We have a contact form which redirects to a URL, this has been tested and worked great in all browsers until Internet Explorer 11 unfortunately the redirection crashes IE 11 even though the form sends through correctly.

    My Additional Settings is set to:

    on_sent_ok:"window.location.replace('https://www.url.com.au/thank-you/');"

    Contact Form 7 is Version 3.5.4
    Wordpress is 3.6

    I can update these as necessary and put in any experimental fixes as I have a development environment up and running.

    https://www.ads-software.com/plugins/contact-form-7/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello
    I have /had the same problem, I had seven inputs after some tests I found out that with 5 or less inputs the form works OK, over that it’s failes.
    I think MSHTML.dll, versjon: 11.0.9600.16438 file is corrupt!

    Thread Starter KookRoss

    (@kookross)

    Found a solution to this, its an ugly one but it does get around the issue for me.

    on_sent_ok: "$("#post-440").empty();window.location.replace('https://www.url.com.au/thank-you/');"

    Where post-440 is the ID of the div which surrounds the form. Put simply your post led me to the belief that IE is somehow passing that form again before doing the redirection, this uses jQuery to clear that entire page of content (including the form) before doing the redirection.

    Its a hack way to get around the IE issue but so far its working in all browsers for me including IE11.

    @kookross tried this with no luck. any other ideas?

    Thread Starter KookRoss

    (@kookross)

    @mhcaus not really sure, that method (undesirable as it is) worked for me. If you post an address I’ll take a quick look and post an on_ok_sent string for you adjusted for your form.

    thanks you so much!

    the address is: https://www.mhcaustralia.com.au/assessment-form/

    much appreciated

    Thread Starter KookRoss

    (@kookross)

    try
    on_sent_ok: "$("#wpcf7-f5908-p6481-o1").empty();window.location.replace('https://www.url.com.au/thank-you/');"

    As that should reference the div around the form on that page.

    Failing that I’m not sure, your page structure is quite different to the one I was working in.

    you are a star. That did it!

    thanks for your time and help

    Hi guys,

    Could you please tell me where should I try those codes to fix the IE11 browsing problem? Some users are experiencing problems when browsing the site (wwww.pensar.co.uk) as the right side is cut.

    Thank you very much,

    Sara

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Redirection crashes IE 11 – perfect for all others’ is closed to new replies.