WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7 Multi-Step Forms
[resolved] [closed] Fields from previous forms not sent (24 posts)

  1. bettsy
    Member
    Posted 1 year ago #

    Like others, I love the idea of this plugin. It's just what I needed.

    Only problem is that, after going through my three step form, the email I get at the end has only parsed the data from the last page. All the data from fields in the earlier two pages gets lost and the email contains the tags ie: "[name]" rather than the content ie "John".

    Do I have to repeat the field description (as hidden) in the last page or is there something else I'm missing.

    Thanks.

    http://wordpress.org/extend/plugins/contact-form-7-multi-step-module/

  2. webheadllc
    Member
    Plugin Author

    Posted 1 year ago #

    Hi bettsy,

    Do you have a [hidden step "1-3"] on the first form, [hidden step "2-3"] on the second form, and [hidden step "3-3"] on the third form?

    Also when you visit your form on the public side you should see something similar to this: <input type="hidden" name="step" value="1-3" class="wpcf7-hidden" /> when you view the page source.

  3. dood
    Member
    Posted 11 months ago #

    Hi I am having the same issue. I also have a 3 step form and when I get emailed, its only on the last page. I have everything set the way you described.

  4. webheadllc
    Member
    Plugin Author

    Posted 11 months ago #

    I'll look into changing the forms to use cookies instead of sessions. That might resolve a lot of these issues.

  5. webheadllc
    Member
    Plugin Author

    Posted 11 months ago #

    Version 1.1 is out and uses cookies to save the form data. hopefully this solves your issues.

  6. bettsy
    Member
    Posted 11 months ago #

    Thanks Webheadllc. Downloading now. I'll report back in about 24 hours.

  7. jasonpurchaseflorida
    Member
    Posted 11 months ago #

    Hey Webhead, great plugin bud. My multi page isn't working on my site anymore - http://purchaseflorida.com/rate-quote/ . It's a new site and it was working fine before you seemed to have switched it to cookies. Once you submit the first page it tells you to - Please fill out the form on the previous page. Not sure what to do, I tried looking through the forms and the markups seem right.

    I really do appreciate your help. Thanks in advance.

  8. webheadllc
    Member
    Plugin Author

    Posted 11 months ago #

    i'm really not sure what would cause it to stop working. Do you have any caching plugins? Other than making sure you have [hidden step="2-3"] on your second form i'm not sure what else could be wrong.

  9. jasonpurchaseflorida
    Member
    Posted 11 months ago #

    This is what I see in the code once the first form page is submitted and it redirects to the second page...is it the novalidate? It's definitely due to the update on either Contact Form 7 or your plugin because it broke directly after that. Could it be the novalidate?

    <div class="wpcf7" id="wpcf7-f5687-p5683-o1"><form action="/rate-quote-2/#wpcf7-f5687-p5683-o1" method="post" class="wpcf7-form" novalidate="novalidate">
    <div style="display: none;">
    <input type="hidden" name="_wpcf7" value="5687">
    <input type="hidden" name="_wpcf7_version" value="3.5.1">
    <input type="hidden" name="_wpcf7_locale" value="">
    <input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f5687-p5683-o1">
    <input type="hidden" name="_wpnonce" value="4ed3576c83">
    </div>
    <p>Please fill out the form on the previous page</p>
    <div class="wpcf7-response-output wpcf7-display-none"></div></form></div>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

    Thanks again by the way, I really appreciate it.

  10. isaki
    Member
    Posted 11 months ago #

    Hi,
    +1. It doesnt seem to work.
    I just installed this plugin, never had it installed before.
    I get redirected to the new page, but it only says:
    "Please fill out the form on the previous page"

    Thanks

    Test page: http://ourjourney.se/testtre/

  11. webheadllc
    Member
    Plugin Author

    Posted 11 months ago #

    It seems like something is going wrong in retrieving the cookies on your servers. I added a filter to force to use sessions. Please update to version 1.3.2 and then paste the following code in your theme's functions.php file. add_filter('cf7msm_force_session', '__return_true');

    To test it out you'll need to close your browser or clear your cookies.

  12. isaki
    Member
    Posted 11 months ago #

    After fiddling around with clearing cookies and refreshing the browser it now seem to work. But you could be right, my server seems a bit unreliable.

    Thanks for a quick reply.

  13. Raesgo
    Member
    Posted 11 months ago #

    Hey guys, having issues myself with the form only sending step 3.

    I've updated the plug-in, cleared cookies, have all the [hidden step="1-3"] and so on, on the forms and it still only sends the info for the last step.

    i look at my public code and I can't see the required <input type="hidden" name="step" value="1-3" class="wpcf7-hidden" /> in the page source. Not sure why not and It's driving me nuts. I know I'm forgetting something and i'd very much like to know what

    Anyone have any insight that can help. Thanks in advance.

    http://www.ymcaofsimcoemuskoka.ca/ymca-of-simcoemuskoka-volunteer-application

  14. webheadllc
    Member
    Plugin Author

    Posted 11 months ago #

    Your form looks correct. I see the hidden step. If you are getting to the last step without the errors mentioned here your fields should be saving. On the last contact form, make sure you included all the fields you want to send in the mail section.

  15. Raesgo
    Member
    Posted 11 months ago #

    ya, this isn't sending the previous steps.

  16. webheadllc
    Member
    Plugin Author

    Posted 11 months ago #

    on my setup it seems to work fine. maybe you don't have cookies enabled? try adding add_filter('cf7msm_force_session', '__return_true'); to your theme's functions.php.

    i went through your form and the previous form values were saving. i don't see any reason why the email wouldn't have the previous form values.

  17. Raesgo
    Member
    Posted 11 months ago #

    this is strange. I have cookies and I've already added the 'add_filter' the the themes function. Any way I could see a couple of screen shots on hoe you set it up. I know I have to be missing something small.

    Any help is appreciated.

  18. webheadllc
    Member
    Plugin Author

    Posted 11 months ago #

    Added some screenshots to the sample page. hope it helps

    http://webheadcoder.com/contact-form-7-multi-step-form/

  19. orientalsails
    Member
    Posted 11 months ago #

    Hi, i also installed contact form 7 multi step on http://orientalsails.com . But when i upgrade wp to 3.6, it run incorrect.
    on step 1, I place on_sent_ok: "location.replace('http://www.orientalsails.com/oriental-sails-and-calypso-cruiser-enquery-2/');"
    but when click, it redirect to: http://www.orientalsails.com/#wpcf7-f1711-t1-o1
    and show message: "Your message was sent successfully. Thanks."

    my contact form 7 version: 3.5.1
    Contact Form 7 Multi-Step Forms version: 1.3.2

    please help

  20. jasonpurchaseflorida
    Member
    Posted 11 months ago #

    Hi WebHead - I hate to be a squeaky wheel here but the plugin seems to not be working since the updates. I added the filter to function.php file and it didn't do a thing. This seems to be in direct correlation to your switch to cookies. I had literally just downloaded your plugin and started using it a few days before the change and it worked beautifully. It's such a shame but I am going to have to remove this from my site as it has halted my entire business by not working; once you have this fixed I'll definitely consider adding it back, but I'm going to have to search for a more reliable solution.

    I appreciate your responsiveness and was really trying to be loyal and patient, but I've tried a million different things and it simply doesn't work anymore.

  21. webheadllc
    Member
    Plugin Author

    Posted 11 months ago #

    @orientalsails - I got to the second step of your form just fine. Did you fix whatever was wrong?

    @jason - I also got through your forms fine. I went through all the steps and got to the confirmation page with "Thank you for your request...". Did you also fix whatever was wrong?

  22. jasonpurchaseflorida
    Member
    Posted 11 months ago #

    I've actually been at it a few hours now - removed contact form 7, contact form 7 widget, contact form db and contact form multi page. Started from scratch after making sure all plugins, theme and WP properly updated. Just got it up and received your form test a few seconds later. Its working, AWESOME! I just wish I had a better idea why it didn't work before so it could be of more help to everyone.

    Webhead has my kudos for replying and helping out as much as possible...thanks a million man.

  23. webheadllc
    Member
    Plugin Author

    Posted 11 months ago #

    That's a big relief. Glad you resolved your issue. I'm not sure what's the problem either. It's not the cod, but it's not just one or two people having this problem. maybe it's something with upgrading, but i have no upgrade-specific code.

  24. shnifti
    Member
    Posted 11 months ago #

    Is there a prooved way to solve this issue?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic