Closed (duplicate)
Project:
Webform
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Jul 2009 at 01:04 UTC
Updated:
1 Dec 2011 at 00:58 UTC
Jump to comment: Most recent
Comments
Comment #1
robbiePie commentedI have a similar issue. I am trying to make a multipage form where the first page is in a block and the following pages are their own. Currently when I have it set up in a block the subsequent pages are in that block as well...
Bonus points if someone can tell me how I can choose from multiple forms based on a field selected on the first page. Some conditional logic, not sure where to put it. Thanks
Comment #2
quicksketchTo solve this issue, we should look into #335480: Set separate URL for each page of Multi-Page Forms (Funnel Tracking). Right now this is not a very feasible task.
Comment #3
jtwalters commentedA hack-ish way to accomplish this is to use PHP-code block visibility function:
Example:
Comment #4
bbcThanks for the code snippet. I've been trying to use $_POST['details']['page_num'] in a custom module to display a different block on each page of a form, but have found that the blocks only display correctly when users move forward through the form. When they use the back button, things get out of sync for a reason that I'm failing to understand.
Is there something about how $_POST variables get updated that's different when the previous vs. next page button gets activated?