{"id":831,"date":"2012-08-08T11:21:27","date_gmt":"2012-08-08T21:21:27","guid":{"rendered":"http:\/\/mymonkeydo.com\/?p=831"},"modified":"2012-08-08T11:21:27","modified_gmt":"2012-08-08T21:21:27","slug":"contact-form-7-multi-step-module","status":"publish","type":"post","link":"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/","title":{"rendered":"Contact Form 7 Multi-Step Forms"},"content":{"rendered":"

UPDATE<\/strong>: \u00a0This plugin still works as expected for most people, but\u00a0if it doesn’t work for you, I have found a great alternative that I personally use for larger projects:\u00a0Formidable Pro<\/a>. \u00a0Formidable allows multi-page forms, ajax submissions, and more. \u00a0It does so much more than Contact Form 7 and Contact Form 7 Multi Step\u00a0Forms. \u00a0There is a free and a paid version. \u00a0The paid version is\u00a0very cheap for what you get. \u00a0In my opinion it is much better than the more expensive Gravity Forms.<\/em><\/p>\n

My first official wordpress plugin is one that modifies the Contact Form 7 plugin. \u00a0And yes, you’ll need the Contact Form 7 plugin activated in WordPress. \u00a0\u00a0I needed a contact form that spanned across multiple pages and in the end would send an email with all the info collected. \u00a0Here are the steps to use it once it’s installed.<\/p>\n

    \n
  1. \u00a0Create a contact form 7 form as you normally would.<\/li>\n
  2. \u00a0Add a hidden tag named “step” with the value being the current step dash (“-“) total steps. If you have a 5-step form and you are creating the first step, the hidden field would look like:\u00a0[hidden step “1-5”]
    \nthe last step, would look like:\u00a0[hidden step “5-5”]<\/li>\n
  3. \u00a0In the “Additional Settings” textarea at the bottom of the form editing page, add in the location of the next form.<\/li>\n
  4. If the next form is located on My2ndPage on example.com you would add the following to the “Additional Settings” textarea: \u00a0on_sent_ok: “location.replace(‘http:\/\/example.com\/My2ndPage\/’);”<\/li>\n
  5. \u00a0Repeat steps 1 – 3. On the form that will actually send a email, do not do step 3 unless you want the form to redirect\u00a0the user to another page.<\/li>\n<\/ol>\n

    A working sample can be seen at:
    \n
    http:\/\/webheadcoder.com\/contact-form-7-multi-step-form\/<\/a><\/p>\n

    Get the\u00a0Contact Form 7 MultiStep Forms<\/a>\u00a0in the WordPress Repository.<\/p>\n

     <\/p>\n

     <\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[2],"tags":[54,64],"yoast_head":"\nContact Form 7 Multi-Step Forms - My Monkey Do<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Contact Form 7 Multi-Step Forms - My Monkey Do\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/\" \/>\n<meta property=\"og:site_name\" content=\"My Monkey Do\" \/>\n<meta property=\"article:published_time\" content=\"2012-08-08T21:21:27+00:00\" \/>\n<meta name=\"author\" content=\"Webhead\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Webhead\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/\",\"url\":\"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/\",\"name\":\"Contact Form 7 Multi-Step Forms - My Monkey Do\",\"isPartOf\":{\"@id\":\"https:\/\/mymonkeydo.com\/#website\"},\"datePublished\":\"2012-08-08T21:21:27+00:00\",\"dateModified\":\"2012-08-08T21:21:27+00:00\",\"author\":{\"@id\":\"https:\/\/mymonkeydo.com\/#\/schema\/person\/b16fc650a8c182faaac896bab099b829\"},\"breadcrumb\":{\"@id\":\"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mymonkeydo.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Contact Form 7 Multi-Step Forms\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mymonkeydo.com\/#website\",\"url\":\"https:\/\/mymonkeydo.com\/\",\"name\":\"My Monkey Do\",\"description\":\"A Log of Coding Solutions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mymonkeydo.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mymonkeydo.com\/#\/schema\/person\/b16fc650a8c182faaac896bab099b829\",\"name\":\"Webhead\",\"url\":\"https:\/\/mymonkeydo.com\/author\/corey\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Contact Form 7 Multi-Step Forms - My Monkey Do","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/","og_locale":"en_US","og_type":"article","og_title":"Contact Form 7 Multi-Step Forms - My Monkey Do","og_url":"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/","og_site_name":"My Monkey Do","article_published_time":"2012-08-08T21:21:27+00:00","author":"Webhead","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Webhead","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/","url":"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/","name":"Contact Form 7 Multi-Step Forms - My Monkey Do","isPartOf":{"@id":"https:\/\/mymonkeydo.com\/#website"},"datePublished":"2012-08-08T21:21:27+00:00","dateModified":"2012-08-08T21:21:27+00:00","author":{"@id":"https:\/\/mymonkeydo.com\/#\/schema\/person\/b16fc650a8c182faaac896bab099b829"},"breadcrumb":{"@id":"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/mymonkeydo.com\/contact-form-7-multi-step-module\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mymonkeydo.com\/"},{"@type":"ListItem","position":2,"name":"Contact Form 7 Multi-Step Forms"}]},{"@type":"WebSite","@id":"https:\/\/mymonkeydo.com\/#website","url":"https:\/\/mymonkeydo.com\/","name":"My Monkey Do","description":"A Log of Coding Solutions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mymonkeydo.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mymonkeydo.com\/#\/schema\/person\/b16fc650a8c182faaac896bab099b829","name":"Webhead","url":"https:\/\/mymonkeydo.com\/author\/corey\/"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/posts\/831"}],"collection":[{"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/comments?post=831"}],"version-history":[{"count":0,"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/posts\/831\/revisions"}],"wp:attachment":[{"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/media?parent=831"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/categories?post=831"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mymonkeydo.com\/wp-json\/wp\/v2\/tags?post=831"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}