Support » Plugin: Contact Form 7 Multi-Step Forms » Send Auto-Responder On Step One of Multi-Step

  • Resolved mikealien


    I would like to send an auto-responder to the person filling out the form after step one, and send one to the owner of the site to let them know step one was completed in the event they never finished the rest of the forms.

    It works fine until I add the [hidden step “1-3”], then it no longer sends the emails. Is there a way to do this?

    Thanks, love this plugin BTW and this would make it even more awesome!

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author webheadcoder


    Not too sure. you could maybe add a filter to ‘wpcf7_posted_data’ with a function like this. Add it to your theme’s functions.php. i haven’t actually tried this though.

    function send_mail_for_form( $cf7_posted_data ) {
        $wpcf7 = WPCF7_ContactForm::get_current();
        if ( $wpcf7->id() == YOUR_FORM_ID_HERE ) {
                $wpcf7->skip_mail = false;
        return $cf7_posted_data;
    add_filter('wpcf7_posted_data', 'send_mail_for_form');

    Thanks, I appreciate your help, however, when I added my form ID to the above code and added it to the the functions.php that code is now appearing at the top of all my websites pages and the form wont go past step one when you click it.
    Any other suggestions would be greatly appreciated.

    SUCCESS!!! I added that code to the “contact-form-7-multi-step-module.php” and it worked fine!!!!!

    Plugin Author webheadcoder


    you should add it to your functions.php file so it doesn’t get overwritten when you update this plugin. If the code is showing up when viewing all your pages, you may need to add <?php before the code.

    Excellent! That was it.. added <?php before the code on the functions.php file… works great, thanks again!



    I wanted to know is there a way that the mail sent in first step can have a link to second step to continue but also deliver the first step fields to add to second step.
    like if I filled out the first form I folow the link sent to me and just need to finish the second form.

    Plugin Author webheadcoder


    no, this plugin can’t do that. please start your own thread next time.

    hi, i added the code in functions.php, but there is no email sent after submit of the first form? is there a new code since wp 4.7?

    Plugin Author webheadcoder


    As of version 2.2, released this past month, the new code would be:

    add_filter( 'wpcf7_skip_mail', '__return_false', 11 );

    This can be in your theme’s functions.php file.

    @webheadllc That was too cool of you to follow up with that update. I was wondering what happened. Appreciate it, works perfectly!

    • This reply was modified 1 year, 7 months ago by  mikealien.


    How about having multiple multiple step forms?

    • This reply was modified 1 year, 7 months ago by  meiskv.
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Send Auto-Responder On Step One of Multi-Step’ is closed to new replies.