I am printing a webform block in my node.tpl.php:
<?php
$block = module_invoke('webform', 'block_view', 'client-block-72');
print render($block['content']);
?>
And when I submit the webform with nothing, no error messages are shown. They are shown on the next reload.
If insert the block in admin -> structure -> block, it works fine.
Is there any way to make it work with inserted block in template file?