Support » Plugin: Contact Form 7 Multi-Step Forms » Back button no longer working

  • Resolved fijisunshine

    (@fijisunshine)


    Great plugin!

    On page 2 of 2 of my CF7 multi-step form, I have a Back button and a Submit button. Here is my code for the buttons:

    <button class=’wpcf7-form-control wpcf7-previous’ type=’button’></button> <button class=’wpcf7-form-control wpcf7-submit’></button>

    However, when I click the Back button nothing happens. There are no javascript console errors. If I remove the “type=’button'” code in the Back button, then when I click the Back button it submits the form as if I had clicked the Submit button.

    I believe this CF7 multi-step form used to work great but no longer. Any suggestions? Thank you

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

    (@webheadllc)

    Hi,

    One thing to make sure of is to have the next url from step one be exactly the same as the url which step 2 is on. Sometimes not having the trailing backslash might mess it up.

    If you post a url to your form I can take a look.

    Thread Starter fijisunshine

    (@fijisunshine)

    Thanks for your response. Yes, that was the issue. It’s now fixed. I was aware of that url issue from other support posts so I had already checked that my url’s were correct, but I had made a small mistake.

    I just noticed that the format for your [multistep] tags has changed. It used to be something like:

    [multistep “1-2-https://www.example.com/page_2of2/”]
    [multistep “2-2”]

    Does this old format still work? Or is the new format using “first_step” and “last_step” required? Thanks again

    Plugin Author webheadcoder

    (@webheadllc)

    Great news. glad it’s fixed.

    The old format still works, but I would recommend using the new format with “first_step” and “last_step”. The old format will eventually be phased out and only the new format will get feature updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Back button no longer working’ is closed to new replies.