Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

What is the simplest way I can create a email web form on an html website created in dreamweaver hosted on 2003 server?

Avatar of jeamrotae
jeamrotaeFlag for United States of America asked on
JavaScriptASPHTML
63 Comments1 Solution674 ViewsLast Modified:
We have been trying for months to be able to send emails from a website. The website is under construction and the website is www.sqpa.info and on the contact page click on services the email webform  comes up but it does not work again.  Below I left the code.
title>SQPA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="style.css" />
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
var submitcount=0;

function reset() {
document.emailform.name.value="";
document.emailform.email.value="";
document.emailform.comments.value="";
}

function checkFields() {                       // field validation -
if ( (document.emailform.name.value=="")  ||   // checks if fields are blank.
     (document.emailform.email.value=="") ||   // More validation scripts at
     (document.emailform.comments.value=="") ) // forms.javascriptsource.com
   {
   alert("Please enter your name, email, and comments then re-submit this form.");
   return false;
   }

else 
   {
   if (submitcount == 0)
      {
      submitcount++;
      return true;
      }
   else 
      {
      alert("This form has already been submitted.  Thanks!");
      return false;
      }
   }
}
//  End -->
</script>
</head>

<body onload="reset()">
	<div id="main">
		<div id="header">
<a href="#" class="logo"><img src="../logo/SQPA_logo[1].gif" alt="" width="277" height="85" /></a><img src="images/pic2.gif" alt="" width="768" height="297" /><br />
			<ul id="menu">
				<li><a href="index2.html"><img src="images/but1.jpg" alt="" width="128" height="44" /></a></li>
				<li><a href="UnderConstruction.html"><img src="images/but2.jpg" alt="" width="128" height="44" /></a></li>
				<li><a href="UnderConstruction.html"><img src="images/but3.jpg" alt="" width="128" height="44" /></a></li>
				<li><a href="UnderConstruction.html"><img src="images/but4.jpg" alt="" width="128" height="44" /></a></li>
				<li><a href="UnderConstruction.html"><img src="images/but5.jpg" alt="" width="128" height="44" /></a></li>
				<li><a href="Contact.html"><img src="images/but6.jpg" alt="" width="128" height="44" /></a></li>
			</ul>
		</div>
		<div>
		  <div class="block">
				<img src="images/title1copy2.gif" alt="" width="551" height="34" /><br />
		  </div>
			<div class="block">
<form method=post action="http://cgi.freedback.com/mail.pl" name="emailform" onSubmit="return checkFields()">

<input type=hidden name=to value="Dwashin5@gmail.com">
<input type=hidden name=subject value="Feedback Form">

<pre>
Your Name:  <input type=text name="name">
Your Email:  <input type=text name="email">

Comments?

<textarea name="comments" wrap="virtual" rows="7" cols="45"></Textarea>

<input type=submit value="Submit Form!">

</pre>
</form>

<!-- Script Size:  2.05 KB -->
			</div>
		</div>
		<div id="footer">
			<ul>
				<li><a href="index2.html">home</a>|</li>
				<li><a href="UnderConstruction.html">about</a>|</li>
				<li><a href="UnderConstruction.html">YAIP</a>|</li>
				<li><a href="UnderConstruction.html">FIN</a>|</li>
				<li><a href="UnderConstruction.html">ABE</a>|</li>
				<li><a href="Contact.html">contacts</a></li>
			</ul>
			<p>SQPA&copy; 2010    <a href=>Web Design</a> byNetLan PC</p>
		</div>
	</div>
<map name="Map2">
	<area shape="rect" coords="1,0,56,26" href="#">
</map>
</body onload="reset()">
</html>