Hi everybody,
I have created an email input field with the webform module, which I included in a block in my sidebar. Well... I have a few questions :)
1. A correct email validation is only with php possible, is it? http://drupal.org/node/279127#comment-1023342
2. As default I want "Please enter email address" to appear in the field, but when you click inside this text should vanish and if focus is not in the field anymore, but nothing has been put inside, the default text shall re-appear. Only possible with additional jQuery Code, is it? http://drupal.org/node/342183
3. If it's not a valid email, I would like the error message to appear inside the block, but $messages is not available in block.tpl.php... or is there a way to achieve that?
4. Despite of getting to a new url, the confirmation text shall appear in the block, too. Or in a pop-up. How to achieve that?
I hope that you can help me :)
Thanks a lot!
Bimbastico
Comments
Regarding 3... with panels
Regarding 3... with panels maybe?
Whole node in panel as block
Is it possible to make a page-node-id.tpl.php for a webform node in which I just put inside the $messages and the webform and then put this node as a whole node into a block? Please help! Thanks!
Webform in a block resoved?
Hi, I wish to do the same... using webform, Text in the field replaced when you click the field and feed back in teh block not the page.
Did you ever resolve how to do this? Would like to know what yo did.
Thx.
anyone figure this out?
anyone figure this out?
I did something like this
I did something like this inside a block to get my form... but just realized that enter an invalid entry takes you to the node page with the error and it looks terrible!
Realizing now that I can do
Realizing now that I can do the exact same thing with the webform block module! - however this still doesn't solve the issue with the error messages, the error will still take you back to the node page and display the error there.