By ncd on
I would like to create an email submit form for users to submit inquiries and place it inside a node.
I have found something close at http://drupal.org/node/197122 but I also need an email body.
I tried adding
$form['body'] = array(
'#type' => 'textarea',
'#title' => '',
'#cols' => '50',
'#rows' => '10',
); and then
$message = 'Inquiry from: '. $form['email'] <br> .$form['body'] ;
Can someone explain what am I doing wrong here?
Comments
Nevermind
I figured out how to configure the Contact module properly so it's not so vital anymore. But eventually I would like use the custom form instead.
Got it up at http://www.urbanpearlstudio.com/ups/?q=contact
Try the Webform module
The webform module allows you to create your very own contact forms, among other things. Get it at http://drupal.org/project/webform.
Thanks
Hey thats much better. Thanks!
I'm happy to be of service
I'm happy to be of service :)