View Full Version : Submiting a Clients Form
daydie
05-17-2007, 09:51 AM
Help Me please Here is link for Form:
http://www.freewebs.com/evilmir2007/Test.html
Says error on page the coding is Below this text in next post please help me Make it send to my email (All infomation given)
daydie
05-17-2007, 02:04 PM
I have found some Codes can some1 tell me if this works if i host the site or what else do i need?
Please help me...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<form action="daydie2k4@hotmail.com?subject=Client Form" method="post" enctype="text/plain">
<head>
<script type="text/javascript">
function addActionTest(theForm) {
if (theForm.testField.value != '') {
theForm.action += theForm.testField.value;
return true;
}
else { alert('Error'); return false;}
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-image: url(BackGround.png);
background-repeat: repeat;
}
.style4 {
color: #000066;
font-weight: bold;
font-size: 18px;
}
.style12 {color: #000000; font-weight: bold; font-size: 18px; }
.style13 {color: #000000; font-weight: bold; font-size: 14px; }
.style14 {font-size: 18px}
-->
</style>
</head>
<body>
<div align="center">
<p> </p>
<p class="style4"> Enquiry Page.</p>
<p class="style4">
<label>
</p>
<div align="center"><span class="style12">First Name: </span>
<input type="text" name="textfield" id="textfield" />
</div>
<form id="form2" name="form2" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<label><span class="style12"> Surname: </span>
<input type="text" name="textfield16" id="textfield16" />
</label>
</form>
<form id="form3" name="form3" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<label><span class="style12">Company Name:</span>
<input type="text" name="textfield2" id="textfield2" />
</label>
</form>
<form id="form4" name="form4" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style12">Daytime Telephone: </span>
<label>
<input type="text" name="textfield3" id="textfield3" />
</label>
</form>
<form id="form5" name="form5" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style12">Evening Telephone: </span>
<label>
<input type="text" name="textfield4" id="textfield4" />
</label>
</form>
<form id="form6" name="form6" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style12">Mobline Telephone: </span>
<label>
<input type="text" name="textfield5" id="textfield5" />
</label>
</form>
<form id="form7" name="form7" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style12">Best Time to contact: </span>
<label>
<select name="select" id="select">
<option>Morning</option>
<option>Evening</option>
<option>Afternoon</option>
</select>
</label>
</form>
<form id="form8" name="form8" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<label><span class="style12">Your Postcode:</span>
<input type="text" name="textfield6" id="textfield6" />
</label>
</form>
<form id="form9" name="form9" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style12">What Type of Finance:</span>
<label>
<select name="select2" id="select2">
<option>Commercial</option>
<option>Buy</option>
<option>Let</option>
<option>Residential- New Purchase or Re-Mortgage</option>
</select>
</label>
</form>
<form id="form10" name="form10" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style12">Purchase Price:</span>
<label>
<input type="text" name="textfield7" id="textfield7" />
</label>
</form>
<form id="form11" name="form11" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style12">Loan Required:</span>
<label>
<input type="text" name="textfield8" id="textfield8" />
</label>
</form>
<form id="form12" name="form12" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style12">Term of the load:</span>
<label>
<select name="select3" id="select3">
<option>10 Years</option>
<option>15 Years</option>
<option>20 Years</option>
<option>25 Years</option>
<option>30 Years</option>
</select>
</label>
</form>
<form id="form13" name="form13" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style12">Property Description: </span>
<label>
<select name="select4" id="select4">
<option>Shops</option>
<option>Factories</option>
<option>Nursing Homes</option>
<option>Gardeb Centres</option>
<option>Care Homes</option>
<option>Farms</option>
<option>Pubs</option>
<option>Resraurants</option>
<option>New Build Houses</option>
<option>Flats Above Shops</option>
<option>Older Houses</option>
<option>Chateaus in France</option>
<option>Holiday Homes</option>
<option>Second Homes</option>
</select>
</label>
</form>
<form id="form14" name="form14" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style12">Properties Abroad: </span>
<label>
<input name="textfield9" type="text" id="textfield9" value="<France - Leave blank if not>" />
</label>
</form>
<form id="form15" name="form15" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<span class="style13 style14">Comments:</span>
<label>
<textarea name="textfield10" id="textfield10"></textarea>
</label>
</form>
<p align="left" class="style13 style14"> </p>
<p align="center" class="style13"><a href="https://www.tenminutewill.co.uk/main.cgi?aff=2518"><img Src="https://www.tenminutewill.co.uk/images/468x60_anim_1.gif" /></a></p>
<p align="center" class="style13"> </p>
<form id="form16" name="form16" method="post" action="mailto:daydie2k4@hotmail.com?subject=Contact Form - " method="POST" onsubmit="return addActionTest(this);">
<label>
<input type="submit" name="button" id="button" value="Send Email" />
</label>
</form>
<p align="center" class="style13"> </p>
<p></p>
<p> </p>
</div>
</body>
</html>
mwinter
05-17-2007, 05:35 PM
First, you need one form, not one for each input. Second, find a free form mail service; don't use the mailto scheme with a form. Google is your friend (http://www.google.co.uk/search?q=free+%22form+mail%22+%7C+formmail) for the second of these two suggestions.
daydie
05-17-2007, 06:05 PM
Can u please tell me how to send if its not mailto: what is it :( please tell me.
Is this why it says error on page?
/daydie
boogyman
05-17-2007, 06:50 PM
Can u please tell me how to send if its not mailto: what is it
V V V V V V V V V V
First, you need one form, not one for each input. Second, find a free form mail service; don't use the mailto scheme with a form. Google is your friend (http://www.google.co.uk/search?q=free+%22form+mail%22+%7C+formmail) for the second of these two suggestions.
www.bravenet.com offers a free mail script
mwinter
05-17-2007, 07:11 PM
Can u please tell me how to send if its not mailto: what is it :( please tell me.
I did, but I cannot give you specific instructions as different services operate differently. You will have to follow the instructions given by the provider. As it is, it seems your host, Freewebs, provides a form mail service already so look for documentation on the member website, or ask technical support.
Is this why it says error on page?
No, I've not seen an error message in either IE or Fx.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.