I'm using Webform block because it was the only way I could get my multiple step webform to appear on the front page without throwing an error when I submitted it. Except all the steps appear in the block. How do I make it so that only the first step appears in the block and the rest of the steps appear on the actual webform page when the "Next Page" button is hit?
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | webformblock.patch | 6.79 KB | Bitvark |
| #2 | webformblock_patch_node.zip | 9.17 KB | Bitvark |
Comments
Comment #1
buddaSorry, I'm not familiar with multi step webforms and never intended to support such a thing. If anyone has time to investigate and submit a patch i'm open to including it.
Comment #2
Bitvark commentedHi,
here you a patch that can solve your trouble.
You'll see a checkbox called "If multistep webform, expose following steps in node" in the "webform advanced settings": check it if you want to display steps that follow step 1 in their node page.
You need to "uninstall" previously installed webform block module, i think, and install this instead later.
Test it, I've done it very recently... not 100% tested...
bye
Comment #3
buddaThanks for taking the time bitvark! Any chance of a patch file for it against the current webform dev code in CVS? http://drupal.org/patch/create
Comment #4
Bitvark commentedHi,
here is the patch vs the dev webformblock module (i guess you were referring to it, not the webform main module itself, isn't it?).
ATTENTION! You've to set the block visibility rule: in the webform page the block should be hidden. This way you can keep both the page with the form and the block which will display following step on page. (e.g. if your webform is /myform, set "myform*" and "Show on every page except the listed pages." in admin/build/block ->custom block page).
Bye
Comment #5
grasmash commentedI posted a simpler patch that should work with the latest 3.x as of 6/30/11:
http://drupal.org/node/1033090#comment-4676340