I have a very simple contact form with the following fields:
Name, email, subject, message, submit
Is it possible to add an additional field and have its value delivered with the email?
I have tried and it ignores the additional field:
<!-- CONTACT FORM -->
{exp:email:contact_form id="contact-form" user_recipients="false" recipients="{embed:to}" charset="utf-8" return="{site_url}{embed:return}|Return to the Site"}{!--
--}<label for="subject">Your Name:</label>
<input type="text" id="name" name="name" size="40" value="" /></p>
<label for="from">Your Email:</label>
<input type="text" id="from" name="from" size="40" maxlength="35" value="" /></p>
<label for="subject">Subject:</label>
<input type="text" id="subject" name="subject" size="40" value="" /></p>
{if segment_3 == "contact-us"}
<label for="utility_co">Your Utility Company:</label>
<input type="radio" name="utility_co" value="company one" />Company One
<input type="radio" name="utility_co" value="company two" />Company Two
<input type="radio" name="utility_co" value="company three" />Company Three
{/if}
<label for="message">Message:</label>
<textarea id="message" name="message" rows="18" style="width: 100%;"></textarea>
{if captcha}
Please enter the word you see in the image below:
{captcha}
<input type="text" name="captcha" value="" maxlength="20" /></p>
{/if}
<input name="submit" type='submit' value='Submit Form'></p>
{/exp:email:contact_form}All the fields show properly, but the selected values do not come in the email. Any help would be appreciated.