Right now I have basic code and I got it to send now it’s only sending me the message portion but not the name.
{exp✉️contact_form name="Online Form" recipients="rayna@januska.com" charset="utf-8" replyto="yes" allow_html="no"}
<div > <input type=”hidden” name=”subject” value=”Online Contact” /> </stong> Name: <input type=”text” id=”name” name=”name” /></p> <strong></stong> Email: <input type=”text” id=”from” name=”from” /></p> </div>
<div > <strong>* Message: <textarea id=”message” name=”message” height:100px;”></textarea> {if captcha} Please enter the word you see in the image below: {captcha} <input type=”text” name=”captcha” value=”” /></p> {/if} <input name=”submit” type=’submit’ value=’Submit Form’ /></p> </div>
{/exp✉️contact_form}
The name value is only included as the “from” name in the email you receive, not in the body of the email.
Here’s a tidied up form for reference.
{exp:email:contact_form name="OnlineForm" user_recipients="no" recipients="rayna@januska.com" charset="utf-8" replyto="yes"}
<input type="hidden" name="subject" size="40" value="Online Contact">
<label for="name">Your Name:</label>
<input type="text" id="name" name="name" value="">
<label for="from">Your Email:</label>
<input type="text" id="from" name="from" value="" >
<label for="message">Message:</label>
<textarea id="message" name="message"></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'>
{/exp:email:contact_form}
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.