Drupal coder

webform

Drupal's Webform module has Mollom support

I'll even say it once more: "Drupal's Webform module has Mollom support". And I'm not talking support by patching here, but support like "just install Mollom and Webform and eat your ice cream". And boy, we've all waited for this for some time.

To take advantage of this integration, you will need to install the upcoming 3.0 release of Webform. Although this one is still in beta, that shouldn't stop you from using it. The counter is already at BETA-5 at the moment of this writing.

April 20, 2010anti spam, Drupal, Mollom, webform

Additional processing in Drupal's Webform 3 module

Webform is one of the most popular and most useful Drupal modules. It allows you to build forms using the administration interface without any programming. It saves the submitted data to the database and you can optionally let the data be sent to one or multiple e-mail addresses. And if that's not enough, you can even do some additional processing yourself like saving the results to an external system (using an API), logging extra data, ... This is accomplished using the "Additional processing (and validation)" fields available when you are editing your form.

At least... This used to be possible. With the imminent release of Webform 3 (at the moment of this writing beta 4 is the latest release), this won't be possible anymore (out of the box).

But you still need this functionality in your project? Lets see what your options are.

Get the most out of Drupal webform module

Today I was looking for a way to customise the confirmation e-mail sent by the webform module. It appears that it's possible to customise this mail per form. By looking a bit further I discovered a file I had overlooked all of the time. This little file is called THEMING.txt and it delivers what is promised: it shows you how to customise all things Webform.

What will you discover there?

  • Theme submission emails
  • Theme the confirmation page
  • Theme display of an entire webform

Great! This teaches you how to customise the 3 parts in a webform subimission process: form display, confirmation screen and confirmation e-mail.

Go ahead and read it here: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/webform/THE...

September 05, 2008Drupal, theming, webform

Mollom support for webform module in Drupal

I love Mollom. It keeps away practically all spam from my sites. If you have no idea yet what Mollom is, you definitely have to check it out for all your anti spam needs.

But it really bugged me that there was no support yet for the Drupal webform module. That's a module I use on pretty much all of my sites to create contact forms and other.

So I decided to roll up my sleeves and add this feature myself.

Since the Drupal Mollom module isn't built with hooks (or any other modular system), I had to alter the Mollom module itself. This resulted in a patch which you can all download in the issue queue for the Mollom module.

Head over there to download the path and start your testing engines.