Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm trying to add a subject field to the tellafriend page. I'm able to insert the following code and get it to show up on the form, but how to I get it to render in the email that is sent as the subject?
$form['tellafriend_subject'] = array(
'#type' => 'textfield',
'#title' => t("Subject"),
'#size' => 70,
'#maxlength' => 255,
'#required' => TRUE,
'#description' => t(''),
);
Any advice would be appreciated,
CarbonPig