Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I recently upgraded Webform to version 7.x-4.2. I have an existing form using the Webform page break field. The Webform is being used as a block on my homepage. However now the Webform no longer redirects to a new page and instead is ajax'ing the second step of the form into the homepage Webform block.
I have not found any new settings to indicate if the page break should use ajax or redirect to a new page, so I believe this is a bug. Please advise.
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedWebform doesn't load pages with ajax. Your problem probably lies in whatever module is providing the ajax.
Comment #2
tragic.rich CreditAttribution: tragic.rich commentedHi @DanChadwick,
I apologize I double checked and it is not loading with ajax. When I first tested the bug my developer reported the page reloaded really fast and I must not have noticed.
It is a webform as a block with a pagebreak element. When I submit the form the page reloads and the block contains the full form instead of redirecting to a new page with the full form as it was doing prior to the upgrade.
Comment #3
tragic.rich CreditAttribution: tragic.rich commentedComment #4
DanChadwick CreditAttribution: DanChadwick commentedYou have something else in your site that is causing this. Perhaps something in your theme? I can't reproduce the issue, and there are thousands of sites with multi-page webforms in blocks. I'm afraid you're going to have to debug this yourself, or give instructions to reproduce this on a clean installation.
I'd start by trying a standard theme and disabling all webform, block, and form-related modules.
Comment #5
tragic.rich CreditAttribution: tragic.rich commentedThank you for looking into it, I will debug this further myself.