• Resolved dab1t

    (@dab1t)


    WP: version 4.9.4
    Contact form 7: version 5.0
    Multi Step Forms: Versión 3.0.3 (free)

    Hi!

    I would like to know how to reset the step 1 variables, once you have go to step 2 and then go to previous and want to start again. I use dynamical variables in step 1, but if i recall the step 1 with different variables after have been in step 2, the variables does not change.

    I have tried destroying de session or unset session, but unless i finish the step 2 and send an email, the variables remains with initial values…

    is there any php function that i can call, or a reset button for the form step 1?

    At this url https://david.alcocer.com/formularios/ you can find a demo, you first call the step 1 with first link, go to step 2 and the return and send variables from second link….you will see no changes!!!

    Thanks in advance!!!
    David

    • This topic was modified 7 years ago by dab1t.

    The page I need help with: [log in to see the link]

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

    (@webheadllc)

    If you’re using the Free version and want to clear it using PHP, you can use

    
                cf7msm_remove('cf7msm-step');
                cf7msm_remove('cf7msm_posted_data');
                cf7msm_remove('cf7msm_prev_urls');
    

    Those are the cookie names so you can also use javascript to clear those cookies.

    Thread Starter dab1t

    (@dab1t)

    Thank U very much!!

    It rules!!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Erasing step 1 dynamic variables’ is closed to new replies.