Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have created a webform with settings:
Redirection location = No redirect (reload current page);
Available as block.
I have placed the block into the region.
When I click Submit button the form is subitting, but current page is not reloading. Instead that the page of webform is opening.
All worked fine in Webform 3.11.
Comments
Comment #1
khiminrm CreditAttribution: khiminrm commentedWorks after setting "Show all webform pages in block" in the block settings.
Comment #2
khiminrm CreditAttribution: khiminrm commentedIs this normal? Because I have one page web-form, not multi-page webform.
Comment #3
Petr IllekI'm seeing this behaviour too.
I thing this is not as supposed to be.
Comment #4
positivedm CreditAttribution: positivedm commentedI'm also getting this problem. It must have happened in the 7.x-3.11 or 3.12 release though. I've rolled back to the 3.10 release for the time being as it works as it should within that.
Comment #5
barryclark CreditAttribution: barryclark commentedImplemented the fix in #1 and works for me.
However the confirmation box message displays under the title of the page I'm on, rather than under the title of the block. I assume it should appear under the block title?
Comment #6
dddbbb CreditAttribution: dddbbb commented#1 also fixed it for me too. Seems some settings have shifted about a bit is all.
However, I agree with @bazclef, it would be nice to have the confirmation message appear in the block itself. It would be even better to be able to choose between display in the block or a standard status message at the top of the page (current setup). Is this starting to turn into a separate issue?
Comment #7
quicksketchYes, please open a new feature request.
Comment #8
dddbbb CreditAttribution: dddbbb commentedDone. http://drupal.org/node/1271784
Comment #10
Alan D. CreditAttribution: Alan D. commentedAs per #1 and from what I am experiencing atm, there appears to be a minor issue here.
I'm using a fixed URL to redirect to, which is working fine (simple form, 3 components), until there is an validation error. At this point, the form redirects to the node page.
The workaround from #1 does work, so either the description of "Show all webform pages in block" could be updated, or that the code should be updated so that there is no redirect to the node page if custom url / no redirect is selected and it is not a multi-step form (or step 1 of multi-step form).
Otherwise, this is a very nice feature, it is the first time that I have actually needed this feature in nearly 5 years of Drupal programming!
Comment #11
ehalber CreditAttribution: ehalber commented#1 worked for me
Comment #12
jorgediazhav CreditAttribution: jorgediazhav commented#1 Works Great!!! Thanks!!!
Comment #13
aparnapc CreditAttribution: aparnapc commented#1 works for me. thank you..!!!
Comment #14
quicksketchThis has already been addressed in Webform 4.x. The "Show all pages in block" option is now actually on by default on all forms to avoid most of the confusion. Please reopen if there's still current problems with 4.x, the 3.x version isn't likely to be changed further in this particular area.