Active
Project:
Webform Block
Version:
6.x-1.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2011 at 16:03 UTC
Updated:
30 Dec 2011 at 22:34 UTC
I've got a webform showing in a block which submits fine. However, if users forget to fill out a required field they are redirected to the actual webform node rather than the error messages showing in the block.
I noticed this commit:
Webform Block: September 24, 2010 13:44
Commit 4b08b96 on 6.x-3.x
by budda
Fixed redirection on form validation error
It looks like the problem I'm having. Is this something that will be fixed in the official release? I'm running version 6.x.1.2
Thanks!
Comments
Comment #1
gavinengel commentednt
Comment #2
theoracleprodigy commentedI found using an older version of webforms it works perfectly.
If you use 6.x-3.11 it does not seem to have this issue but using version 6.x-3.12 webform blocks did not work on my system.
Comment #3
theoracleprodigy commentedAfter further testing the issue seems to be webforms 6.x-3.12 zen 6.x-2.1 and 6.x-1.2 of webform block or 6.x-1.1. The key seems to be the zen theme. Although the webforms 6.x-3.11 works perfectly with zen. Not sure what is the root cause of the conflict.
Comment #4
andrewc.swanson commentedI was able to work around this bug by changing the form action from the webform page to the page the form is intended to be on. Done with a hook_form_alter().
$form["#action"] = '/actual/page';
Comment #5
simone.girlanda commentedI got the same problem using 6.x-3.15.
andrewc.swanson: can you give more details on how you arrange the workaround?