December 2012


Adding one or more fields to the Drupal 7 contact form

Usually when someone wants a custom contact form on their Drupal website the easiest solution is to use the webform module, however if you don't need to store submissions on your site, and you're only looking to add one or two fields, adding fields with a form_alter might be a better option for you.

This would probably be especially true if you had no other reason to install the webform module on your site.