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?

Comments

budda’s picture

Status: Active » Closed (won't fix)

Sorry, 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.

Bitvark’s picture

Status: Closed (won't fix) » Needs review
StatusFileSize
new9.17 KB

Hi,
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

budda’s picture

Thanks 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

Bitvark’s picture

Issue tags: +forms, +webformblock, +multi step
StatusFileSize
new6.79 KB

Hi,
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

grasmash’s picture

Component: Miscellaneous » Code

I posted a simpler patch that should work with the latest 3.x as of 6/30/11:
http://drupal.org/node/1033090#comment-4676340