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

khiminrm’s picture

Status: Active » Fixed

Works after setting "Show all webform pages in block" in the block settings.

khiminrm’s picture

Status: Fixed » Needs review

Is this normal? Because I have one page web-form, not multi-page webform.

Petr Illek’s picture

I'm seeing this behaviour too.
I thing this is not as supposed to be.

positivedm’s picture

I'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.

barryclark’s picture

Implemented 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?

dddbbb’s picture

#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?

quicksketch’s picture

Category: bug » support
Status: Needs review » Fixed

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?

Yes, please open a new feature request.

dddbbb’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Alan D.’s picture

Version: 7.x-3.12 » 7.x-3.x-dev
Category: support » bug
Priority: Normal » Minor
Status: Closed (fixed) » Active

As 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!

ehalber’s picture

#1 worked for me

jorgediazhav’s picture

#1 Works Great!!! Thanks!!!

aparnapc’s picture

#1 works for me. thank you..!!!

quicksketch’s picture

Category: Bug report » Support request
Priority: Minor » Normal
Issue summary: View changes
Status: Active » Closed (fixed)

This 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.