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
Comments
Post new comment