If Node is a webform, in case of error during "form compiling", the user is redirected to webform page, instead of remaining on the page containing the block...

Someone have ideas about to avoid this?

I would like that, even after a compiling error, user remain on page where block is showed... leaving it only after a successful submit...

CommentFileSizeAuthor
#2 Screen shot 2012-04-16 at 11.37.41 AM.png56.14 KBosman

Comments

pal4life’s picture

Hi,
Yes, a lot of people including me have this issue where the webform on error redirects to the webform page instead of showing the errors on the page where its embedded. Can this issue be address so that customizing the error messages is very simple and obvious?

Thanks.

osman’s picture

StatusFileSize
new56.14 KB

I would recommend using Webform's native feature rather than using nodeasblock to expose the webform as a block.

Edit the webform, open "Form settings" in the local tasks, and enable "Available as block" checkbox in Advanced settings.
You would be eliminating any issues nodeasblock module may cause.

Webform - Advanced settings