• workxx8

    (@workxx8)


    Helo, I an using Contact Form 7 Multi-Step Forms to send the data in multiple steps.
    but I am facing problem as i want to display data in dashboard , for this i am using ‘Save Contact Form 7’ plugin. I have 5 forms and submitted data is showing here. The problem is all five forms data is showing separately. I am unable to recognize which data is send by which user.
    example: In form 1 I have name and email field, and in form 2 Qualification, hobbies fields. when I see data in washboard data is showing in two different tables. I cannot identify qualification and hobbies are send by which user as form 2 does not have any name or email field.

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

    (@webheadllc)

    If you update to version 2.0.8 you can have the email field on all your forms. Add a form-tag like [multiform email-123] to your second form. Then add the following code to your theme’s function.php file. Replace FORM_2_ID with your second form’s id and replace ’email-123′ with the name of your email field.

    /**
     * Make this field into a hidden form tag so it gets submitted with the form.
     */
    function my_function( $value, $field_name ) {
    	$wpcf7 = WPCF7_ContactForm::get_current();
    	if ( $field_name == 'email-123' && $wpcf7->id == FORM_2_ID ) {
    		$value = cf7msm_make_hidden( $field_name, $value );	
    	}
    	return $value;
    }
    add_filter( 'wpcf7_form_field_value', 'my_function', 10, 2 );
    charlicus

    (@charlicus)

    Awesome plugin!

    I have a question, if i have let’s say 6 or 8 different steps (small forms, just text), can i use the same code in my functions in order to keep track of the submissions?

    Thanks!

    • This reply was modified 8 years ago by charlicus.

    Would really appreciate an answer!

    Plugin Author webheadcoder

    (@webheadllc)

    you should be able to. have you tried it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘save data of multiple form as one in dashbored’ is closed to new replies.