So I am using a form from http://www.tectite.com/
If I use it as it comes it works but when I start removing rows in the table the contents of the email I am sent doesn't contain all the information I would like.
This is the form:
http://londonlabs.co.uk/form/sampleform.htm
Only what is in the message box gets sent to me.
HTML:
HTML Code:
<form method="post" action="http://londonlabs.co.uk/form/labs-form.php" name="SampleForm">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">
<!-- STEP 2: Put your email address in the 'recipients' value.
Note that you also have to allow this email address in the
$TARGET_EMAIL setting within formmail.php!
-->
<input type="hidden" name="recipients" value="joefylanDZD9ZJgmail.com" />
<!-- STEP 3: Specify required fields in the 'required' value -->
<input type="hidden" name="required" value="email:Your email address,realname:Your name" />
<!-- STEP 4: Put your subject line in the 'subject' value. -->
<input type="hidden" name="subject" value="Sample FormMail Testing" />
<table border="1" cellspacing="5%">
<tr>
<td>
<p>Please enter your name:</p>
</td>
<td><input type="text" name="realname" />
</td>
</tr>
<tr>
<td>
<p>Please enter your email address:</p>
</td>
<td><input type="text" name="email" />
</td>
</tr>
<tr>
<td valign="top">
<p>Please enter your message:</p>
</td>
<td><textarea name="mesg" rows="10" cols="50"></textarea>
</td>
</tr>
<tr>
<td><input type="submit" value="Submit" /></td>
<td><input type="reset" value="Reset" /></td>
</tr>
</table>
</form>
This is what it looked like before I edited it:
HTML Code:
<form method="post" action="http://londonlabs.co.uk//labs-form.php" name="SampleForm">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">
<!-- STEP 2: Put your email address in the 'recipients' value.
Note that you also have to allow this email address in the
$TARGET_EMAIL setting within formmail.php!
-->
<input type="hidden" name="recipients" value="joefylanDZD9ZJgmail.com" />
<!-- STEP 3: Specify required fields in the 'required' value -->
<input type="hidden" name="required" value="email:Your email address,realname:Your name" />
<!-- STEP 4: Put your subject line in the 'subject' value. -->
<input type="hidden" name="subject" value="Sample FormMail Testing" />
<table border="1" cellspacing="5%">
<tr>
<td>
<p>Please enter your name:</p>
</td>
<td><input type="text" name="realname" />
</td>
</tr>
<tr>
<td>
<p>Please enter your email address:</p>
</td>
<td><input type="text" name="email" />
</td>
</tr>
<tr>
<td><p>May we contact you?</p>
</td>
<td>
Yes <input type="radio" name="contact" value="Y" checked />
No <input type="radio" name="contact" value="N" />
</td>
</tr>
<tr>
<td><p>What are your favourite colours?</p>
</td>
<td>
Red <input type="checkbox" name="colors[]" value="red" />
Blue <input type="checkbox" name="colors[]" value="blue" />
Yellow <input type="checkbox" name="colors[]" value="yellow" />
</td>
</tr>
<tr>
<td valign="top"><p>What vehicles do you have a license to operate?</p>
</td>
<td valign="top">
<select name="vehicles[]" multiple size="5">
<option value="Car">Car</option>
<option value="Bus">Bus</option>
<option value="Truck">Truck</option>
<option value="Plane">Aeroplane</option>
<option value="Boat">Boat</option>
</select> (Select all that apply; use CTRL-click to select)
</td>
</tr>
<tr>
<td valign="top">
<p>Please enter your message:</p>
</td>
<td><textarea name="mesg" rows="10" cols="50"></textarea>
</td>
</tr>
<tr>
<td><input type="submit" value="Submit" /></td>
<td></td>
</tr>
</table>
</form>
Please help.
Thanks
|