<p>This issue is this:</p>

<pre><code>&lt;textarea name="message" name="message[body]" cols="30" rows="6" placeholder="Questions or Comments"&gt;&lt;/textarea&gt;
</code></pre>

<p>You're defining <code>name</code> twice.  The 2nd one gets ignored (which is required if you're using the array syntax for other fields).</p>

CC BY-SA 3.0
2017-09-13T20:53:31.447Z
So it was my html after all. I QUIT!  Thanks Brad
Tad Ward
CC BY-SA 3.0
2017-09-13T20:28:56.667Z
2017-09-13T20:28:56.667Z
Brad Bell
<p>I'm not 100% sure it's this, but you've got a couple of fields with spaces in their names:</p>

<pre><code>message[First Name] 
message[Last Name]
</code></pre>

<p>I'd probably get rid of those spaces or at least enclose them in quotes first, see if that improves things. Other than that I couldn't spot anything obvious. </p>

CC BY-SA 3.0
2017-09-13T17:43:54.237Z
It isn't that. However, I did try both options and those additional fields still do not come within the email.
Tad Ward
CC BY-SA 3.0
2017-09-14T06:43:55.157Z
I thought it was a long shot, never mind. At least it looks like Brad got you sorted.
Steve Holland
CC BY-SA 3.0
2017-09-14T12:58:35.663Z
Steve, appreciate your help. Brad did get me sorted and made me realize how blind I am, lol.
Tad Ward
CC BY-SA 3.0
2017-09-13T16:00:10.387Z
2017-09-13T16:00:10.387Z
Steve Holland
<p>I am using Contact Form v1.9.0 with latest version of Craft.
I've additional fields to the form so that the inputted values appear in the email message. However, the only field being sent within the message is the <code>message[body]</code> field.</p>

<p>A link to a gist of my form code is below:
<a href="https://gist.github.com/anonymous/f380c316ad14864aed7aa95dbb2cafc8" rel="nofollow noreferrer">https://gist.github.com/anonymous/f380c316ad14864aed7aa95dbb2cafc8</a></p>

<p>I am using jquery to copy and replace the value of <code>fromName</code> and <code>fromEmail</code>, which you'll see are hidden fields.</p>

<p>This exact form has been used on numerous sites in the past few months, using Contact Form 1.8.1.</p>

<p>Any thoughts on why those additional fields aren't being attached to the email message?</p>

<form><emails><plugin-contactform>
Additional Fields aren't sent within Contact Form email
# Additional Fields aren't sent within Contact Form email

(Asked by: username_0 on 2017-09-13)

I am using Contact Form v1.9.0 with latest version of Craft.
I've additional fields to the form so that the inputted values appear in the email message. However, the only field being sent within the message is the `message[body]` field.

A link to a gist of my form code is below:
<https://gist.github.com/anonymous/f380c316ad14864aed7aa95dbb2cafc8>

I am using jquery to copy and replace the value of `fromName` and `fromEmail`, which you'll see are hidden fields.

This exact form has been used on numerous sites in the past few months, using Contact Form 1.8.1.

Any thoughts on why those additional fields aren't being attached to the email message?

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

---

## 2 answers

### Answer by username_1 on 2017-09-13. Score: 2 | Accepted answer

This issue is this:


You're defining name twice.  The 2nd one gets ignored (which is required if you're using the array syntax for other fields).

> **Comments:**
> **username_0**: So it was my html after all. I QUIT!  Thanks Brad  

---

### Answer by username_2 on 2017-09-13. Score: 1

I'm not 100% sure it's this, but you've got a couple of fields with spaces in their names:
message[First Name] 
message[Last Name]

I'd probably get rid of those spaces or at least enclose them in quotes first, see if that improves things. Other than that I couldn't spot anything obvious.

> **Comments:**
> **username_0**: It isn't that. However, I did try both options and those additional fields still do not come within the email.  
> **username_2**: I thought it was a long shot, never mind. At least it looks like Brad got you sorted.  
> **username_0**: Steve, appreciate your help. Brad did get me sorted and made me realize how blind I am, lol.  

---

