• I appreciate using your extension for creating multi-step forms. However, I need to perform additional operations in PHP or JavaScript related to the stored form data.

    Is it possible to:

    1. Add information to a session using data entered in the multi-step forms?
    2. Read the stored information from the session to display or use it later?
    3. Update the information in the session as the user progresses through the form steps?
    4. Delete the session information once the form is submitted or abandoned?

    I would like to be able to manipulate the session information using custom code rather than solely relying on the Contact Form 7 interface.

    I would greatly appreciate your guidance or examples on how to accomplish these tasks. Your assistance is highly appreciated.

    Best regards,

    Matthias

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ecoinformatique

    (@ecoinformatique)

    I’m currently facing an issue with injecting user-entered information into the form while using the premium version. I have created a volume calculator for a client, and I need the user’s input to be sent to my client via the form.

    Previously, with the free version, I was able to achieve this by utilizing cookies. However, I’m unable to find a way to inject the information using the $_SESSION variable with Contact Form 7 Multi-Step Forms.

    Could you please provide guidance on how I can store and retrieve user-entered information using the $_SESSION variable in the premium version of Contact Form 7 Multi-Step Forms? I would greatly appreciate your assistance in resolving this matter.

    Thank you in advance for your support.

    Sincerely,

    Plugin Author webheadcoder

    (@webheadllc)

    Hi,

    The premium version uses SessionStorage so you will need to use Javascript to interact with it.

    I would suggest using hidden fields to store/add information to the data that is passed on. It would be the easiest way to interact with this plugin. Once the form is submitted to the server you can manipulate the data in PHP by hooking into the wpcf7_posted_data filter.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using Session Data with Contact Form 7 Multi-Step Forms’ is closed to new replies.