Home ›
embedding custom information in Drupal contact formembedding custom information in Drupal contact form
Submitted by Benjamin Melançon on April 20, 2009 - 4:01pm
Alter this form http://api.drupal.org/api/function/contact_mail_user/6
based on something passed in by the link
Based on this in http://api.drupal.org/api/function/contact_mail_user_submit/6
<?php
$values = $form_state['values'];
?>
We can have data in addition to message and body available for adding extra information to the body, by using http://api.drupal.org/api/function/hook_mail_alter/6
Resolution
More like this
- Pass information from a URL into a Drupal page or form
- Validation error on search form, contact site admin. But I am the site admin!
- Make nodes easy to edit, even when they are embedded in a panel or teaser ist
- Allow anonymous users to contact registered users through Drupal's personal contact form
- Fix RSS output for CCK node types so that information from all important fields are included


Comments
Post new comment