Bug #10884 See Comments

Contact form only returning single textarea message field in email

Version: EE 2.0.0PB 20091211 Reporter: susanfw

This is an archived bug report. If you are experiencing a similar issue, upgrade to the latest release and if that does not solve the problem, submit a new bug report

When trying to use the contact form that’s in the docs and only adding 2 additional fields using name=“message[]”, the only field that is returned to me in the email is the textarea message. No subject, home phone or cell phone. The following is the code used:

{exp✉️contact_form user_recipients="false" recipients="myemail@example.com" charset="utf-8"}

Support Form

<label for=“from”>Your Email:</label>

<input type=“text” id=“from” name=“from” size=“40” maxlength=“35” value=”{member_email}” /></p>

<label for=“subject”>Subject:</label>
<input type=“text” id=“subject” name=“subject” size=“40” value=“Contact Form” /></p>

Home Phone: <input type=“text” name=“message[]” size=“12” maxlength=“15” /><br >
Cell Phone: <input type=“text” name=“message[]” size=“12” maxlength=“15” />

<label for=“message”>Message:</label>
<textarea id=“message” name=“message” rows=“18” cols=“40”>Support Email from: {member_name}
Sent at:  {current_time format="%Y %m %d"}</textarea></p>

<input name=“submit” type=‘submit’ value=‘Submit Form’ /></p>

{\exp✉️contact_form}

Apparent bug was replicated by Adam Dorsey

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases