How can I modify the site-wide contact form? Add some additional fields , such as an address and phone number

Comments

nijuley’s picture

use Webform modules
Webform module adds a webform nodetype to your Drupal site. Typical uses for webform are to
create questionnaires, contact or request/register forms, surveys, polls or a front end to issues tracking systems.
http://drupal.org/project/webform

steff2009’s picture

Or you have to design and implement another separate form, and configure categories, email delivery, etc.?

Thanks

Jaypan’s picture

You can use hook_form_alter() for this. You just add the fields you want to the $form array.

nachenko’s picture

Be illuminated by reading this blog post. It also includes example code.

http://www.isegura.es/blog/modifying-contact-form-drupal-how-add-field

danyll’s picture

Link is dead

WorldFallz’s picture

arnaudlecam’s picture

WorldFallz' link is dead