Hi, heres an interesting little problem I hope someone can help us with.
Im using Webform block to generate a form that I insert into a node with a PHP snippet like so:
<?php
$block = module_invoke('webformblock', 'block', 'view', 33);
print $block['content'];
?>
Up until here, no problem. I tell the webform to not redirect anywhere but stay on the same page whenever there are validation errors. OK, perfect. But there is one type of message that the user does not see: "You may not submit another entry at this time."
...which pops up when someone has submitted a form more times than allowed.
Now, if I go to the actual webform node, the message is present. But on the page where I have a webform block, there is no message and the form just disappears completely.
Thanks ahead of time!
Comments
Comment #1
elsuertudo commentedI realize the disappearing form is the default webform behavior but...
¿How can the "You may not submit another entry at this time." message be shown on the page where the webform block is located?
Comment #2
psynaptic commentedWe're following default webform behaviour. We're not showing any content at all if the user can't submit the form.