I see webform have error width block.

#Error 1:
When I check "Available as block". It is a block.
I go to Confirmation message and choose "Display the confirmation page in the block on the same page (no redirect)".
But when I bring block to region bottom. I submit form have messages error. It show message on region top of page. I want show it at top of form but it is impossible.

#Error 2:
I want after submit. It go to "Redirection location" thas is "Custom URL". And "Custom URL" is a link anchor. If I have check "Display the confirmation page in the block on the same page (no redirect)" then form not redirect follow "Custom URL", can you improve it? And when I submit have error. I still can't redirect follow "Custom URL". It only happen when form submit success. Verry bad

Comments

chinhlc created an issue. See original summary.

Liam Morland’s picture

Category: Bug report » Support request

Regarding #1, Drupal messages are always displayed in the messages area at the top of the page. In Drupal 8, validation errors can be inlined in the form. This can also be done with custom theming in Drupal 7.

Regarding #2, if there is a form validation error, it doesn't display the confirmation at all. If you are displaying the confirmation in the block, then it is not using the custom URL. It would be a new feature to allow displaying in a block and redirecting to a page fragment.

Liam Morland’s picture

Status: Active » Fixed

If you need more help, please re-open and provide details.

Status: Fixed » Closed (fixed)

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