Hello,
I have eForm up and running. I filled out ALL of the fields and submitted the form, however out of all the fields:
Your Name*, Your Email Address*, Your Phone Number*, Your Company, Your Mailing Address*, Subject, Comments
only the following were sent in an email:
Name, Email, Comments
My code from the contact form is below. Is there something I’m missing?
Thank You,
Jess
<p><span style="color:#900;">[+validationmessage+]</span></p>
<form method="post" action="[~[*id*]~]">
<input type="hidden" name="formid" value="contactPageForm" />
<p><label accesskey="n" for="Name">Your Name*</label>
<input type="text" name="Name" eform="Your Name*:html:1" maxlength="60" eForm="Your Name::1:Expected at least two words:#REGEX /\w+\b\w{2,}/i" /></p>
<p><label accesskey="e" for="email" >Your Email Address*</label>
<input type="text" name="email" eform="Your Email Address*:html:1" size="40" maxlength="40" eForm="Your Email Address:email:1" /></p>
<p><label accesskey="p" for="phone">Your Phone Number*</label>
<input type="text" name="phone" eform="Your Phone Number*:html:1" size="40" maxlength="40" eForm="Your Phone Number*:email:1" /></p>
<p><label accesskey="y" for="company">Your Company</label>
<input type="text" name="company" size="40" maxlength="40" eForm="Your Company:email:1" /></p>
<p><label accesskey="m" for="mailingaddress">Your Mailing Address*</label>
<input type="text" name="mailingaddress" eform="Your Mailing Address*:html:1" size="40" maxlength="40" eForm="Your Mailing Address* :email:1" /></p>
<p><label accesskey="s" for="department">Subject</label>
<select name="department">
<option value="1">Request for brochure and postcard sample</option>
<option value="2">Inquire about an order</option>
<option value="3">Request a custom quote</option>
<option value="3">Change your address</option>
<option value="3">Send us feedback</option>
</select></p>
<p><label accesskey="c" for="comments">Comments</label>
<textarea cols="40" rows="10" name="comments" eform="Comments:html:0"></textarea></p>
<p>
Please enter the anti spam code below:
<img src="[+verimageurl+]" alt="verification code" border="1"/>
</p>
<p>
<label accesskey="c" for="vericode">Code:</label>
<input type="text" name="vericode" size="20" />
</p>
<p><input type="submit" name="submit" value="Send Feedback"></p>
</form>
How does the template look you’re using for the e-mail message? Does it contain the placehholders for all the fields in your form?
René
That was definitely it, thank you!
For the email subject, is there anyway to get it to list the text of the subject instead of the option value? For example, in the email the recipient receives, the text reads: "Email Subject: 2" and I’d like it to say "Email Subject: Inquire about an order."
This is the code I’m currently using:
<option value="2">Inquire about an order</option>
Is it as simple as switching the option value to match the text of the subject?
Thanks again,
Jess