I have a freeservers account and the script works but I want to add my own success page i have an html file i want to use. Can I do this or does the server come up with there own success page?
I love you guys
Jason
<html>
<head>
<title>ProjectSpring.com : Find the best freelance programmers.</title>
<script language="JavaScript">
function doCheck() {
if (!validName())
{
return false;
}
if (!validEmail())
{
return false;
}
if (!validMessage())
{
return false;
}
return true;
}
function validName()
{
var str=document.emailform.yourname.value;
if ((str == null) || (str.length == 0))
{
alert("Please enter your Name."
return false;
}
return true;
}
function validEmail()
{
var str=document.emailform.youremail.value;
if ((str == null) || (str.length == 0) || (str.indexOf("@"==-1))
{
alert("Please enter a valid Email Id."
return false;
}
return true;
}
function validMessage()
{
var str=document.emailform.mesg.value;
if ((str == null) || (str.length == 0))
{
alert("Please enter your Message Details."
return false;
}
if (str.length > 3000)
{
alert("Message Details too long. Maximum allowed length for Message is 3000 characters."
return false;
}
return true;
}
</script>
</head>
<body marginheight=0 marginwidth=0 topmargin=0 leftmargin=0>
<table border=0 width=100%> <tr valign=top> <td valign=top align=center> <center>
<form action="/cgi-bin/cgiemail" method="post"> name=emailform> <table border=0 width=95%>
<tr bgcolor="#6699cc"> <td><font color=white face=arial size=2><b>Contact Us</b></font>
</td></tr> <tr bgcolor="#f3f3f3"> <td> <font face="arial" size=2 color="#666666"><b>
Use this form to contact us for any of your development needs. We can take up
custom software development at very low prices. </b></font><br><br> <center> <table border=0>
<tr> <td><font face="arial" size=2 color="#666666"><b>Your Name </b></font></td><td><input type=text name=yourname size=40></td></tr>
<tr> <td><font face="arial" size=2 color="#666666"><b>Enter Email-Id </b></font></td><td><input type=text name=youremail size=40></td></tr>
<tr> <td><font face="arial" size=2 color="#666666"><b>Your Message Here </b></font></td><td>
<textarea name=mesg rows=6 cols=40 wrap="virtual"></textarea> </td></tr> <tr>
<td align=center colspan=2><br> <input type=submit value=" Send " onClick="return doCheck()">
</td></tr> </table></center></td></tr> </table></form></center></td></tr> </table><center>
Your Copyright message here.<br><br> </center>
</body>
</html>
I love you guys
Jason
<html>
<head>
<title>ProjectSpring.com : Find the best freelance programmers.</title>
<script language="JavaScript">
function doCheck() {
if (!validName())
{
return false;
}
if (!validEmail())
{
return false;
}
if (!validMessage())
{
return false;
}
return true;
}
function validName()
{
var str=document.emailform.yourname.value;
if ((str == null) || (str.length == 0))
{
alert("Please enter your Name."
return false;
}
return true;
}
function validEmail()
{
var str=document.emailform.youremail.value;
if ((str == null) || (str.length == 0) || (str.indexOf("@"==-1))
{
alert("Please enter a valid Email Id."
return false;
}
return true;
}
function validMessage()
{
var str=document.emailform.mesg.value;
if ((str == null) || (str.length == 0))
{
alert("Please enter your Message Details."
return false;
}
if (str.length > 3000)
{
alert("Message Details too long. Maximum allowed length for Message is 3000 characters."
return false;
}
return true;
}
</script>
</head>
<body marginheight=0 marginwidth=0 topmargin=0 leftmargin=0>
<table border=0 width=100%> <tr valign=top> <td valign=top align=center> <center>
<form action="/cgi-bin/cgiemail" method="post"> name=emailform> <table border=0 width=95%>
<tr bgcolor="#6699cc"> <td><font color=white face=arial size=2><b>Contact Us</b></font>
</td></tr> <tr bgcolor="#f3f3f3"> <td> <font face="arial" size=2 color="#666666"><b>
Use this form to contact us for any of your development needs. We can take up
custom software development at very low prices. </b></font><br><br> <center> <table border=0>
<tr> <td><font face="arial" size=2 color="#666666"><b>Your Name </b></font></td><td><input type=text name=yourname size=40></td></tr>
<tr> <td><font face="arial" size=2 color="#666666"><b>Enter Email-Id </b></font></td><td><input type=text name=youremail size=40></td></tr>
<tr> <td><font face="arial" size=2 color="#666666"><b>Your Message Here </b></font></td><td>
<textarea name=mesg rows=6 cols=40 wrap="virtual"></textarea> </td></tr> <tr>
<td align=center colspan=2><br> <input type=submit value=" Send " onClick="return doCheck()">
</td></tr> </table></center></td></tr> </table></form></center></td></tr> </table><center>
Your Copyright message here.<br><br> </center>
</body>
</html>