Forums

Email not showing correct data

techoverload 23 Jan, 2008
I'm not 100% sure why the email sent after form is submitted doesnt match the form data.

This is the form code I'm using, I created it in frontpage
<form action="MAILTO:tech_overload@chevyzseries.com" method="post" enctype="text/plain">

<div align="left">
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="492" height="509">
    <tr>
      <td width="492" height="36" colspan="3">
      <p align="center">Free Web Site Evaluation</td>
    </tr>
    <tr>
      <td width="492" height="49" colspan="3">
      <p align="center">Fill out the form below for a no obligation site review. 
      Your email will only be used to communicate with you concerning the 
      results of the evaluation.<p align="center"> </td>
    </tr>
    <tr>
      <td width="111" height="25">
      <p align="right">Site URL:</td>
      <td width="16" height="28"> </td>
      <td width="357" height="28"> <input type="text" name="subject" id="subject" value="" size="20" /></td>
    </tr>
    <tr>
      <td width="111" height="23">
      <p align="right">Your Name:</td>
      <td width="16" height="28"> </td>
      <td width="357" height="28"> <input type="text" name="subject" id="subject" value="" size="20" /></td>
    </tr>
    <tr>
      <td width="111" height="24">
      <p align="right">Your Email:</td>
      <td width="16" height="28"> </td>
      <td width="357" height="28"> <input type="text" name="subject" id="subject" value="" size="20" /></td>
    </tr>
    <tr>
      <td width="111" height="26">
      <p align="right">Your Industry:</td>
      <td width="16" height="28"> </td>
      <td width="357" height="28"> <input type="text" name="subject" id="subject" value="" size="20" /></td>
    </tr>
    <tr>
      <td width="111" height="26">
      <p align="right">Core Product or Service:</td>
      <td width="16" height="28"> </td>
      <td width="357" height="28"> <input type="text" name="subject" id="subject" value="" size="20" /></td>
    </tr>
    <tr>
      <td width="111" height="28">
      <p align="right">Years in Business:</td>
      <td width="16" height="28"> </td>
      <td width="357" height="28"> <select name="years" id="years">
								<option>Please Select One</option>
								<option value="Less than 1 Year">Less than 1 Year</option>
								<option value="1-2 Years">1-2 Years</option>
								<option value="3-5 Years">3-5 Years</option>
								<option value="6-10 Years">6-10 Years</option>
								<option value="Over 10 Years">Over 10 Years</option>
							</select></td>
    </tr>
    <tr>
      <td width="111" height="33">
      <p align="right">Monthly Marketing Budget:</td>
      <td width="16" height="33"> </td>
      <td width="357" height="33"> <select name="budget" id="budget">
								<option>Please Select One</option>
								<option value="0">$0</option>
								<option value="1-500">$1-$500</option>
								<option value="501-1000">$501-$1,000</option>
								<option value="1001-5000">$1,001-$5,000</option>
								<option value="5001-10000">$5,001-$10,000</option>
								<option value="10001-Higher">$10,001-Higher</option>
							</select></td>
    </tr>
    <tr>
      <td width="111" height="27">
      <p align="right">Number of Employees:</td>
      <td width="16" height="28"> </td>
      <td width="357" height="28"> <select name="employees" id="employees">
								<option>Please Select One</option>
								<option value="1">1</option>
								<option value="2-5">2-5</option>
								<option value="6-10">6-10</option>
								<option value="11-20">11-20</option>
								<option value="21-49">21-49</option>
								<option value="50 or more">50 or more</option>
							</select></td>
    </tr>
    <tr>
      <td width="111" height="21">
      <p align="right">Best Time to Contact You:</td>
      <td width="16" height="28"> </td>
      <td width="357" height="28"> <input type="text" name="industry" id="industry" value="" size="20" /></td>
    </tr>
    <tr>
      <td width="111" height="146">
      <p align="right">What are your goals for this web site?<br>
      (Please be as detailed as possible)</td>
      <td width="16" height="146"> </td>
      <td width="357" height="146"> <textarea name="goals" id="goals" rows="5" cols="30"></textarea></td>
    </tr>
    <tr>
      <td width="111" height="28">
       </td>
      <td width="16" height="28"> </td>
      <td width="357" height="28">
      <p align="center"> <input type="submit" id="submit" value="Submit" style="font-weight: normal; font-size: 1em; color: #000000; float:left" /></td>
    </tr>
  </table>
</div></form>
I've attached images of the form on my site and an image of the email result

For some reason the filled in data from the form doesnt make it to my email. Someone please help<br><br>Post edited by: GreyHead, at: 2008/01/23 19:03
GreyHead 24 Jan, 2008
Hi techoverload,

You'll see the images didn't make it, sometimes the forum code is touchy!

A question - are you using ChronoForms in Joomla or is thais just a general html question? Assuming that you are using ChronoForms (as this is the ChronoForms forum)

Please remove the form tags from your html code as ChronoFormns re-writes them.

I believe that a mailto action will work but that's waste of ChronoForms. Complete the required info in the General tab, turn debug on and see what results.

Bob
This topic is locked and no more replies can be posted.