Drupal Contact Form Alternative

This article was published in the print magazine Drupal Watchdog, Volume 3 Issue 1, , on page 12, by Tag1 Publishing. The magazine was distributed at DrupalCon Portland, .

Most websites have a contact page to allow visitors to send a message to the site owner. Drupal offers a built-in Contact module, which generates a form containing the traditional fields: name, email address, subject, and message. But you cannot easily add or remove any fields (without writing custom code). For that, use the Webform module, which does require you to define all of the fields, but is far more flexible, and stores in the database all of the values submitted, with the option of emailing them to you.

Default contact form
Figure 1. Default contact form
Copyright © 2012 Michael J. Ross. All rights reserved.
bad bots block