• I’m building a multi-step form and so far everything is working as expected. The client has requested the ability to review the data before it’s submitted. I set up the last page of the form with a summary of the data already so they can see it, but they have no way of editing it.

    I can link back to the form page that they want to change the info on, but the customer wants instead of having to go through all the pages again, for the “Next” button to go back to the summary page if they accessed the page through the end page.

    What would be the best solution for this? How, with PHP, can I pull the data that’s on the current form? Any help would be appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author webheadcoder

    (@webheadllc)

    I think the simplest way to do this is to have a hidden form tag on the last step before the confirmation page. Something like:
    [hidden did-see-confirmation "yes"]

    Then on each of the forms have an additional link that links to the confirmation page. If the hidden field is not set, hide the link.

    You’ll need to hide the link with javascript or you can use the Conditional Fields plugin. With javascript, you can access any of the submitted fields in the ‘cf7msm_posted_data’ cookie. If you use the Conditional Fields plugin you’ll need to add [hidden did-see-confirmation] on each of the forms so the plugin can see the field.

Viewing 1 replies (of 1 total)
  • The topic ‘How to set up a “Review Data” page?’ is closed to new replies.