<p>If you look at <a href="https://github.com/pixelandtonic/ContactForm" rel="nofollow">the GitHub page for the ContactForm plugin</a> under the section for adding additional fields, you'll see that you need to change the name of the <code>message</code> field to <code>message[body]</code>. Try that to see if it helps. I would imagine leaving it as <code>message</code> means that it overwrites the values of the other additional fields.</p>

CC BY-SA 3.0
2015-03-04T09:57:50.983Z
Super... thanks for pointing me in the right direction.
magicspon
CC BY-SA 3.0
2015-02-27T17:53:07.430Z
2015-02-27T17:53:07.430Z
Steve Rowling
<p>I'm using the Craft Contact Form template.  I need to include some additional content in the notification email.  I can't for the life of me find how to do this.</p>

<p>I've seen this:
<a href="https://craftcms.stackexchange.com/questions/2232/pt-contact-form-plugin-html-email-templates?rq=1">P&amp;T Contact Form Plugin: HTML Email Templates</a></p>

<p>But not sure how to apply the additional fields.  Here is my contact form template (markup removed for ease of reading).</p>

<pre><code>{# form markup #}
    &lt;select class='form__input' name="message[About]"&gt;
        {% nav link in craft.entries.section('products') %}
            &lt;option value="{{ link.title }}"&gt;{{ link.title }}&lt;/option&gt;
        {% endnav %}
        &lt;option value="Services"&gt;Services&lt;/option&gt;
        &lt;option value="Consultancy"&gt;Consultancy&lt;/option&gt;
        &lt;option value="General enquiry"&gt;General enquiry&lt;/option&gt;
    &lt;/select&gt;
    &lt;div class='input'&gt;
        &lt;label class='form__label' for='fromEmail'&gt;Your email address&lt;/label&gt;
        &lt;input class='form__input' id='fromEmail' name='fromEmail' type='email' placeholder='Email address' value='{% if message is defined %}{{ message.fromEmail }}{% endif %}'&gt;
    &lt;/div&gt;
    &lt;div class='input'&gt;
        &lt;label class='form__label' for='message'&gt;Details&lt;/label&gt;
        &lt;textarea class='form__input form__input--textarea' id='message' name='message' placeholder='Tell us more'&gt;{% if message is defined %}{{ message.message }}{% endif %}&lt;/textarea&gt;
    &lt;/div&gt;
{# form closing markup/submit button #}
</code></pre>

<p>any help, phenomenally appreciated!</p>

<p>Thanks
Dave</p>

<templating><emails><plugin-contactform>
Include additional fields in Craft form notification template
# Include additional fields in Craft form notification template

(Asked by: username_0 on 2015-02-27)

I'm using the Craft Contact Form template.  I need to include some additional content in the notification email.  I can't for the life of me find how to do this.
I've seen this:
P&T Contact Form Plugin: HTML Email Templates
But not sure how to apply the additional fields.  Here is my contact form template (markup removed for ease of reading).
{# form markup #}
    
        {% nav link in craft.entries.section('products') %}
            {{ link.title }}
        {% endnav %}
        Services
        Consultancy
        General enquiry
    
    
        Your email address
        
    
    
        Details
        {% if message is defined %}{{ message.message }}{% endif %}
    
{# form closing markup/submit button #}

any help, phenomenally appreciated!
Thanks
Dave

**Tags:** templating, emails, plugin-contactform

---

## 1 answers

### Answer by username_1 on 2015-02-27. Score: 2 | Accepted answer

If you look at [the GitHub page for the ContactForm plugin](https://github.com/pixelandtonic/ContactForm) under the section for adding additional fields, you'll see that you need to change the name of the `message` field to `message[body]`. Try that to see if it helps. I would imagine leaving it as `message` means that it overwrites the values of the other additional fields.

> **Comments:**
> **username_0**: Super... thanks for pointing me in the right direction.  

---

