Drupal Contact Form Alternative

By

This article was published in the print magazine Drupal Watchdog, Volume 3 Issue 1, 2013-04, on page 12, by Tag1 Publishing. The magazine was distributed at Drupalcon Portland, 2013-05-20.

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, e-mail 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 e-mailing them to you.

Default contact form
Figure 1. Default contact form

Copyright © 2012 Michael J. Ross. All rights reserved.