Contact Us form on Web site

Hello,
I purchased a full web site template, which was designed to be edited with Expression Web. One of the pages has a Contact Us form on it. This page asks for the name, phone number, comments, and email address of the person who wants to comment. There is a button underneath this table that allows a person to submit the information. I cannot see where I need to enter a destination email address for the person submitting the form. Where would I add this information? It doesn't seem to be on the htm page anywhere. Please advise.

Thanks,
John

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Valley Christian Church - Contact Us</title>
<link href="style.css" rel="stylesheet" type="text/css">
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
 
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
 
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
 
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
 
<body onLoad="MM_preloadImages('images/home2.gif','images/ministries2.gif','images/calendar2.gif','images/our-staff2.gif','images/messages2.gif','images/find-us2.gif','images/contact-us2.gif')">
<div class="table" align="center">
<div class="darkBg2">
  <div align="left"><div class="toprighttext2" style="margin-top:26px"><div style="margin-right:56px">SERVICE TIMES:<br>
    9am - Traditional Service<br>
    10am - Adult Bible Class <br>
    11am - Contemporary Service
  </div></div> </div>
  <div align="left"><a href="index.htm"><img src="images/logo3.gif" width="400" height="100" border="0" alt="logo"></a></div>
</div>
<div class="navbg"><a href="index.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image2','','images/home2.gif',1)"><img src="images/home1.gif" alt="Home" name="Image2" width="109" height="37" border="0"></a><a href="about-us.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','images/about-us2.gif',0)"><img src="images/about-us1.gif" alt="About Us" name="Image3" width="109" height="37" border="0"></a><a href="ministries.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image4','','images/ministries2.gif',1)"><img src="images/ministries1.gif" alt="Ministries" name="Image4" width="109" height="37" border="0"></a><a href="events-calendar.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image5','','images/calendar2.gif',1)"><img src="images/calendar1.gif" alt="Events Calendar" name="Image5" width="109" height="37" border="0"></a><a href="our-staff.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image6','','images/our-staff2.gif',1)"><img src="images/our-staff1.gif" alt="Our Staff" name="Image6" width="109" height="37" border="0"></a><a href="downloads.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','images/messages2.gif',1)"><img src="images/messages1.gif" alt="Messages" name="Image7" width="109" height="37" border="0"></a><a href="find-us.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image8','','images/find-us2.gif',1)"><img src="images/find-us1.gif" alt="Find Us" name="Image8" width="109" height="37" border="0"></a><a href="contact-us.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image9','','images/contact-us2.gif',1)"><img src="images/contact-us1.gif" alt="Contact Us" name="Image9" width="109" height="37" border="0"></a></div>
<img src="images/banner11.jpg" width="880" height="200" class="picBorder" alt="banner">
<div style="clear:both"></div>
<div class="interior"><img src="images/contactus-left.gif" alt="company" width="269" height="226" align="left"><div class="int-text" align="left"><form method="post" action="yourscript.cgi" style="margin:0; padding:0">
         <table 
width="90%" border="0" align="center" cellpadding="0" cellspacing="8">
           <tr>
             <td width="19%" align="left"><b>Name</b></td>
             <td width="81%"><input type="text" name="name" size="25">             </td>
           </tr>
           <tr>
             <td align="left"><b>Phone Number </b></td>
             <td width="81%"><input name="phone" type="text" id="phone" size="25"></td>
           </tr>
           <tr>
             <td width="19%" align="left"><b>Comments or <br>
             Questions&nbsp; </b></td>
             <td width="81%"><textarea name="comments" cols="30" rows="4"></textarea>             </td>
           </tr>
           <tr>
             <td width="19%" align="left"><b>E-mail</b></td>
             <td width="81%"><input type="text" name="email" size="25"></td>
           </tr>
           <tr>
             <td align="left" style="height: 36px"></td>
             <td style="height: 36px"><div align="center">
                 <input name="submit" type="submit" value="Submit" class="button">
             </div></td>
           </tr>
         </table>
       </form><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
</div>
 
 
 
 
 
<div style="clear:both"></div>
<div class="copyRight"><div style="padding-top:6px">&copy; 2008 Valley Christian Church.&nbsp; All Rights Reserved.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.htm" class="templates">Home</a> :: <a href="contact-us.html" class="templates">Contact Us</a> :: <a href="ministries.html" class="templates">Ministries</a> :: <a href="sitemap.html" class="templates">Sitemap</a></div>       </div>
 
 
 
 
 
 
 
 
 
 
 
</div>
</body>
</html>
 
</div>
</body>
</html>

Open in new window

LVL 1
jhiebAsked:
Who is Participating?
 
aherpsConnect With a Mentor Commented:
You need to look at the <form method="post" action="yourscript.cgi" ...>

The yourscript.cgi is receiving the parameters

That script which you would set would parse the details and send the email there.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.