The module allows site admins to create customized contact forms.
Contact forms also can be created by other modules using the provided API.
Contact form title, default message, description text,
message subject and body are fully customizable and can use different variables

To install, place the entire module folder into your modules directory.
Go to administer -> site building -> modules and enable the User Source module.

To create new contact form or change settings for existen contact form go to Administer -> Site configuration -> Contact forms.

You can set up permissions for each contact form in Administer -> User Management -> Access Control

Created contact forms are available at http://yourdomain.com/contact_forms//
If (node id) is provided in the query string node variables will be available in the contact form

Other modules can use the API to create their own contact forms.
To define new contact form implement hook_contact_forms():

function example_module_contact_forms()
{
$forms = array();
$form = new stdClass();
$form->delta = 'example_form';
$form->source = 'example_module';
$form->title = t('Example contact form');
$forms['example_form'] = $form;
return $forms;
}

To modify contact form parameters after form submit implement
hook_contact_forms_parameters($contact_form, $user, $node, $form_values, &$parameters).

This is a DuoNox Module, sponsored by GamblingCompliance.com.
Your feedback would be most appreciated, and if you write your own plugin, please consider contributing back!

Downloads

Version Downloads Date Links
5.x-1.x-dev tar.gz (9.28 KB) | zip (10.49 KB) 2011-Feb-25 Notes

Project Information

  • Maintenance status: Unknown
  • Development status: Unknown
  • Last modified: June 5, 2009

Maintainers for Custom Contact Forms

  • mdekkers - 1 commit
    last: 2 years ago, first: 2 years ago

Issues for Custom Contact Forms

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 16 Feb 10