Click to See Complete Forum and Search --> : plzzzzzzzzzzzzzzz help me


muskaan_ali
04-22-2007, 07:18 AM
:( i m in trouble and wants to know a solution:when i created a form in HTML i want that the after submission this form the all information will have gone at an email address how can i do this i m posting the form code:confused::( :( :confused: :confused:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT language=JavaScript>

function ChkEmpty(frm)
{


if (frm.textarea.value=="")
{
alert("Empty Job Title Field! Please Enter");
}

else if (frm.field_profile.value=="")
{
alert("Empty Candidate Profile Field! Please Enter");

}


else if (frm.field_desc.value=="")
{
alert("Empty Key Project Task Field! Please Enter");
}

else if (frm.field_full_name.value=="" )
{
alert("Empty Name Field! Please Enter");
}

else if (frm.field_Email.value=="" )
{
alert("Empty E-mail Field! Please Enter");
}

else if (frm.field_telephone.value=="" )
{
alert("Empty Phone number Field! Please Enter");
}


else if (frm.field_company.value=="" )
{
alert("Empty company Name Field! Please Enter");
}

else if (frm.field_town.value=="" )
{
alert("Empty City Field! Please Enter");
}


else if (frm.field_postcode.value=="" )
{
alert("Empty Postal Code Field! Please Enter");
}



}
</SCRIPT>
</head>

<body>
<p align="justify" class="style27">To speak to one of our recruitment directors immediately, call us NOW on <strong>00923333055398 </strong>. </p>
<p align="justify" class="style22">Or, fill out the <a href="CE.htm">client enquiry form </a> below. We will contact you by return to discuss your requirement, the key tasks, the candidate profile and the typical cost. Then we will work to identify for you a short list of suitable and available candidates.</p>
<p align="justify" class="style27"> If you have documents such as job descriptions you would like to send us, instead of using this form please <a href="mailto:Enquiries@dmkconsultancy.com">e-mail us your enquiry</a> , attaching any necessary documentation.</p></td>
<td width="247">&nbsp;</td>
</tr>
</table> <span class="style24">Fields marked with an * are required fields.</span> <table width="735" height="391" border="1" cellpadding="0" cellspacing="0" bordercolor="#0034A5">

<form method="POST" name="form1" >

<tr>
<td width="366" height="16"><span class="style22"><strong>About the Candidate You Need</strong></span></td>
<td width="362"><span class="style22"><strong>About You</strong></span></td>
</tr>
<tr>
<td height="373"><table width="363" border="0" align="left">
<tr>
<td width="196" class="style22"> *Job Title / Position Required:</td>
<td width="157"><span class="style28">
<textarea name="textarea" cols=22></textarea>
</span>
</td>
</tr>
<tr>
<td height="154" class="style22"> *Candidate Profile: </td>
<td width="157"><TEXTAREA name=field_profile rows=10 cols=22></TEXTAREA> </td>
</tr>
<tr>
<td class="style22">
<div align="left">*Key Project Tasks or Role Responsibilities: </div></td>
<td width="157">
<TEXTAREA name=field_desc rows=5 cols=22></TEXTAREA>
</td>
</tr>
</table></td>
<td><table width="362" align="left">
<tr>
<td width="150"><div align="left"><span class="style22"> * Your Name:</span></div></td>
<td width="200">
<INPUT size=30 name=field_full_name>
</td>
</tr>
<tr>
<td><div align="left"><span class="style22"> * E-Mail Address: </span></div></td>
<td>
<INPUT size=30 name=field_Email type="text" id="email">

</td>
</tr>
<tr>
<td height="30"><div align="left"><span class="style22"> * Telephone / Mobile : </span></div></td>
<td>
<INPUT size=30 name=field_telephone>
</td>
</tr>
<tr>
<td><span class="style22"> Your Job Title: </span></td>
<td>
<INPUT size=30 name=field_position>
</td>
</tr>
<tr>
<td><div align="left"><span class="style22"> * Company: </span></div></td>
<td>
<INPUT size=30 name=field_company>

</td>
</tr>
<tr>
<td><span class="style22"> Street Address: </span></td>
<td>
<INPUT size=30 name=field_address>
</td>
</tr>
<tr>
<td><span class="style22"> * City or Province: </span></td>
<td>
<INPUT size=30 name=field_town>

</td>
</tr>
<tr>
<td><span class="style22"> * Postal Code: </span></td>
<td>
<INPUT size=9 name=field_postcode>
</td>
</tr>
<tr>
<td><span class="style22"> *Country </span></td>
<td><span class="right">
<SELECT size=4 name=field_country >
<OPTION
value=Pakistan selected>Pakistan</OPTION>
<option value="Afghanistan">Afghanistan</option>

</select> </span></td>
</tr>
<tr>
<td height="26" colspan="2"><span class="right">
<INPUT name="submit" type=submit onClick="ChkEmpty(form1)" value="Send">
</span></td>
</tr>
</table></td>
</tr>
</form>
</table> </td>
</tr>
</table>