I have placed my webform in a block. It works, but there's a problem.

If the user doesn't fill in all mandatory fields the whole webform is loaded in the main content area and the empty mandatory fields are highlighted. I would prefer that the current page was reloaded and that the fields where highlighted in my webform block. Does anyone have an idea of how to accomplish this?

Comments

quicksketch’s picture

This is caused by #250767: #action breaks webform inside another node. There currently is not a supported solution.

budda’s picture

I released a module which fixes this problem. http://drupal.org/project/webformblock

quicksketch’s picture

Status: Active » Fixed

Thanks for digging this up budda. Let's mark this fixed since the issue is several months old.

Status: Fixed » Closed (fixed)

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