• Resolved LESIMOON

    (@lesimoon)


    Hello,

    I have a weird problem with my get_posted_date values.

    I’m using cf7 to send a mail with a custom document in 2 steps :
    Step 1 : User chose some settings in a html form and is redirected to step 2
    Step 2 : User fill the cf7 form and click on send mail. The form also contain an hidden value called TheTime (from step 1).

    Before sending the mail, I use this script :

    $submission = WPCF7_Submission::get_instance();
    		if ( $submission ){
    			$TheTime = $submission->get_posted_data('TheTime');
    		}
    		create_final_pdf($TheTime);

    Problem explanation :

    User-A complete step1
    User-B complete step1
    User-A complete step2 (fill the cf7 form and send it).

    -> My script catch the value ”

Viewing 1 replies (of 1 total)
  • Thread Starter LESIMOON

    (@lesimoon)

    Nevermind, it was my coding skills.
    The error was on another value.
    Cheers

Viewing 1 replies (of 1 total)

The topic ‘$submission->get_posted_data('Value');’ is closed to new replies.