Contact Us form on Web site

Posted on 2008-11-13
Last Modified: 2013-12-24
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.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">



<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];}





<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 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">


width="90%" border="0" align="center" cellpadding="0" cellspacing="8">


             <td width="19%" align="left"><b>Name</b></td>

             <td width="81%"><input type="text" name="name" size="25">             </td>



             <td align="left"><b>Phone Number </b></td>

             <td width="81%"><input name="phone" type="text" id="phone" size="25"></td>



             <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>



             <td width="19%" align="left"><b>E-mail</b></td>

             <td width="81%"><input type="text" name="email" size="25"></td>



             <td align="left" style="height: 36px"></td>

             <td style="height: 36px"><div align="center">

                 <input name="submit" type="submit" value="Submit" class="button">














<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>







Open in new window

Question by:jhieb
    1 Comment
    LVL 7

    Accepted Solution

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
    Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
    The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
    The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now