PDA

View Full Version : Help Needed For Enquiry Form



Anny
08-20-2008, 07:05 PM
Hi .. can someone please create the php file named formsubmit.php for the following form?? i deleted the earlier file by mistake and now i really need it. earlier it was created by one of my friend and now he is not in touch with me anymore. so please if someone can mail me this file " formsubmit.php" i would be really thank ful. my id is anny.oberoi@rocketmail.com

thank you
below is the code of my enquiry.html page



<form action="http://www.myhomesite.com/formsubmit.php" method="post" name="loginform" id="loginform" onsubmit="return checkfield(loginform)">
<input name="recipient" type="hidden" value="info@singhaniainfrastructure.com" />
<input name="subject" type="hidden" value="Anny Oberoi, Query Form through Anny's Home Site" />
<input name="redirect" type="hidden" value="http://www.myhomesite.com/thankyou.html" />
<center>
<table width="70%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D5DCf9">
<tr>
<td height="20" align="center" bgcolor="#E1E6EC" class="td-txt">Anny Oberoi's Enquiry Form </td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td colspan="2" align="center"><b><font color="#FF0000">(</font></b><font color="#FF0000">*<b> represents compulsory fields)</b></font></td>
</tr>
<tr>
<td width="44%" align="left"><font color="red">* </font><b>Your Name :</b></td>
<td width="56%" align="left"><input
name="name" id="name" style="font-family: Arial; font-size: 8pt; letter-spacing: 1; background-color: #ffffff; border: 2 groove #D8D8D8" size="15" /></td>
</tr>
<tr>
<td align="left"><font color="red">* </font><b>Organization :</b></td>
<td align="left"><input
name="organization" id="organization" style="font-family: Arial; font-size: 8pt; letter-spacing: 1; background-color: #ffffff; border: 2 groove #D8D8D8" size="30" /></td>
</tr>
<tr>
<td align="left"><font color="red">* </font><b>Your Country
:</b></td>
<td align="left"><select name="country" class="txt" style="font-family: Arial; font-size: 8pt; letter-spacing: 1; background-color: #ffffff; border: 2 groove #D8D8D8" size="1">
<option value="" selected="selected">Select One</option>
<option value="Afghanistan">Afghanistan</option>
<option value="Aland Islands">Aland Islands</option>
</select></td>
</tr>
<tr>
<td align="left"><font color="red">* </font><b>Tel
No. :</b> (Include Country/Area Code)</td>
<td align="left"><input
name="tel_no" id="tel_no" style="font-family: Arial; font-size: 8pt; letter-spacing: 1; background-color: #ffffff; border: 2 groove #D8D8D8" onkeypress="return ValidateNum(this,event)" size="15" /></td>
</tr>
<tr>
<td align="left"><font color="red">* </font><strong>Your E-Mail
Address :</strong></td>
<td align="left"><input
name="email" id="email" style="font-family: Arial; font-size: 8pt; letter-spacing: 1; background-color: #ffffff; border: 2 groove #D8D8D8" size="15" /></td>
</tr>
<tr>
<td align="left"><b>&nbsp;&nbsp;&nbsp;Address :</b></td>
<td align="left"><input
name="address" id="address" style="font-family: Arial; font-size: 8pt; letter-spacing: 1; background-color: #ffffff; border: 2 groove #D8D8D8" size="30" /></td>
</tr>
<tr>
<td align="left"><font color="red">* </font><b>Kindly
Describe Your &nbsp;Requirements :</b></td>
<td align="left"><textarea name="describe_requirements" cols="45" rows="4" id="describe_requirements" style="font-family: Arial; font-size: 8pt; letter-spacing: 1; background-color: #ffffff; border: 2 groove #D8D8D8"></textarea></td>
</tr>
<tr>
<td colspan="2" align="center"><span class="toplinks">
<input name="submit2" type="submit" style="font-family: Arial; font-size: 8pt; letter-spacing: 1; background-color: #ffffff; border: 2 groove #D8D8D8" value="Submit" />
<input name="reset2" type="reset" style="font-family: Arial; font-size: 8pt; letter-spacing: 1; background-color: #ffffff; border: 2 groove #D8D8D8" value="Reset" />
</span></td>
</tr>
</table></td>
</tr>
</table>
</center>
</form>