• Resolved DonF

    (@lenglemetz)


    Hi,

    I have a bug with the latest contact form form 7, the plugin no longer works with the display of the results on the next page

Viewing 12 replies - 16 through 27 (of 27 total)
  • Still doesn’t work for me ;/ Everything is up to date – wp4.8, cf4.8, plugin2.2. Cookies are set but it doesn’t redirect to another step.

    Plugin Author webheadcoder

    (@webheadllc)

    hmm.. what browser (and browser version) are you using?

    It’s a Chrome 59.0.3071.109. I was looking for a problem for a couple of hours. First step form submit is seting up cookies but doesn’t redirect to second step. Submiting second step form send an email correctly. While I disable the plugin both form sends an email after submit.

    I tried to force first step to redirect to second with:

      $("#first-step-form-id").on('wpcf7:submit', function(){
        location = 'second-step-form-url';
      });

    but it works only with plugin disabled. If the plugin is active, nothing happen.
    I can give You an access to my sample page where I’m trying to make it wark if You wish. Just send me a msg at [email protected]

    Doesn’t work for me either. I get a js error (Chrome and Firefox):

    jquery.min.js:2 Uncaught TypeError: Cannot read property 'length' of null
        at Function.each (jquery.min.js:2)
        at HTMLDocument.<anonymous> (cf7msm.js:11)
        at j (jquery.min.js:2)
        at Object.fireWith [as resolveWith] (jquery.min.js:2)
        at Function.ready (jquery.min.js:2)
        at HTMLDocument.K (jquery.min.js:2)
    Plugin Author webheadcoder

    (@webheadllc)

    Can you visit the sample page at https://webheadcoder.com/contact-form-7-multi-step-form/ and see if it works for you guys there? If it doesn’t please post the error displayed in your Console.

    Also, in your /plugins/contact-form-7-multi-step-module/resources/cf7msm.js file, can you try replace line 9:

    if (step_field.length > 0) {

    with this:
    if (cf7msm_ls != null && step_field.length > 0) {

    and see if that helps.

    • This reply was modified 7 years, 9 months ago by webheadcoder.

    The sample page works for me but I have the same issue with Chrome 59.0.3071.109 on desktop and Chrome 58.0.3029.83 on Android 7. I have replaced line 9 of cf7msm.js but still the first step reloads. There is no warning or error in console but on Verbose there was this entry: [Violation] Forced reflow while executing JavaScript took XXms

    Demo works form me. On my page when I submit first page form the ‘sending’ icon (this wpcf7 rounded arrows) apear and is still spining, nothing else happen. No console errors.

    Plugin Author webheadcoder

    (@webheadllc)

    I put up a new version, 2.21. Please see if this fixes your problems.

    Basically if PHP on your server is set to display notices, the REST API cannot return properly. Which in turn cannot redirect the form to the next step properly. 2.21 fixes any notices displayed for this plugin, but you may/may not have notices from other plugins.

    If you still have problems, a temporary solution might be to add this line to your wp-config.php.
    define('WP_DEBUG_DISPLAY', false);

    I found a similar problem in another plugin’s support. You may want to give it a read if you still have issues. It deals with hosting on GoDaddy/Media Temple. I think it should be resolved by now though:
    https://www.ads-software.com/support/topic/scan-has-new-problem-wordpress-core-file-modified-wp-includesload-php/

    @webheadllc it works great for me using the fix you suggested on /plugins/contact-form-7-multi-step-module/resources/cf7msm.js and plugin version 2.21.

    Could you please add the fixed js file to the plugin sources?

    Thanks a lot for the great support!!

    Hello !
    I have changed the source code line 9. The error has not been fixed.

    regards ralph

    Plugin Author webheadcoder

    (@webheadllc)

    @eddraw – i added the js adjustment to bitbucket. i’ll add it to www.ads-software.com as soon as things settle down a bit. I don’t think the line 9 js fix does anything though.

    @inetmedia – i’ll address your issue on your own post.

    I believe v2.21 fixes the major issues of the plugin not working with cf7 4.8. there may be edge cases that need to be addressed and will address them on separate topics. I won’t be replying to this thread unless the original poster still has a problem.

    Thanks everyone for the feedback.

    Work like a charm after update, thank You.

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘CF7 4.8’ is closed to new replies.