OK, below is the script for a Link
Submission Form. I need to change
the Form Action Line to href email address, because thats where I want
the inputted info to goto; however,
everytime you click submit if you have
an email address for the form action,
a window pops up with microsoft
outlook. Is there ANY WAY to have a
form action statement going to the
email box automatically with the info
a person types in this form from a
website???
<script language="JavaScript">
function description(){
if (document.extrequest.contactname.value == "") {
alert("Your Name is Required");
document.extrequest.contactname.focus();
return false;
}
if (document.extrequest.contactemail.value == "") {
alert("Your Email address is Required");
document.extrequest.contactemail.focus();
return false;
}
var Email = document.extrequest.contactemail.value;
var matchString = "^.+@.+\\..+$" ;
if (Email.match(matchString)) {
}
else {
alert("Not a valid e-mail address");
document.extrequest.contactemail.focus();
return false;
}
if (document.extrequest.sitename.value == "") {
alert("The Site Name is Required");
document.extrequest.sitename.focus();
return false;
}
if (document.extrequest.siteurl.value == "") {
alert("The URL is Required");
document.extrequest.siteurl.focus();
return false;
}
if (document.extrequest.sitedesc.value == "") {
alert("The description is Required");
document.extrequest.sitedesc.focus();
return false;
}
if (document.extrequest.sitedesc.length > 350) {
alert("Your description is too long");
document.extrequest.sitedesc.focus();
return false;
}
if (document.extrequest.reciplinklocation.value == "") {
alert("Reciprocal Link Location is Required");
document.extrequest.reciplinklocation.focus();
return false;
}
if (document.extrequest.message.length > 500) {
alert("Your message is too long");
document.extrequest.message.focus();
return false;
}
document.extrequest.submit();
}
</script>
</head>
<script Language=Javascript>
<!--
function pop_network(helpfile)
{
var MAC, NS, Linux, w, h, settings;
MAC = (navigator.appVersion.indexOf("Mac") != -1) ? 1 : 0;
Linux = (navigator.appVersion.indexOf("Linux") != -1) ? 1 : 0;
var NS = (navigator.appName.indexOf("Netscape") != -1) ? 1 : 0;
if (Linux) {
settings = "toolbar=no,scrollbars=no,location=no,width=615,he ight=515,resizable=yes";
} else if (MAC) {
settings = "toolbar=no,scrollbars=no,location=no,width=600,he ight=500,resizable=yes";
} else if (!MAC && !NS) {
settings = "toolbar=no,scrollbars=no,location=no,width=600,he ight=500,resizable=yes";
} else {
settings = "toolbar=no,scrollbars=no,location=no,width=615,he ight=518,resizable=yes";
}
helpWindow = window.open(helpfile, "", settings);
}
</script>
<tr valign="top">
<td><CENTER><span class="pagetitle">Link trade request for Savemoneytoo.com</span></div><br><span class="bodytextbold">To be considered for inclusion in the SaveMoneytoo.com link directory, you must place a reciprocal link on your site. Information for the reciprocal link will be provided upon succesful completion of your submission.
</span><br><span class="text10blk">(<font color="FF0000">* = Required</font>)
</span><br><br>
<span class="bodytext">
<form action="extlinkrequestsubmit.cfm" method="POST" name="extrequest">
<table align="center">
<tr>
<td class="bodytextbold"><font color="FF0000">*</font>Your Name:<br><input type="Text" name="contactname" size="50" maxlength="150"></td>
</tr>
<tr>
<td class="bodytextbold"><font color="FF0000">*</font>Your Email:<br><input type="Text" name="contactemail" size="50" maxlength="150"></td>
</tr>
<tr>
<td class="bodytextbold"><font color="FF0000">*</font>Your Site Name:<br><input type="Text" name="sitename" size="50" maxlength="100"></td>
</tr>
<tr>
<td class="bodytextbold"><font color="FF0000">*</font>Your Site Url:<br><input type="Text" name="siteurl" size="50" maxlength="150"></td>
</tr>
<tr>
<td class="bodytextbold"><font color="FF0000">*</font>Site Description:<br><span class="bodytext">(This will go next to your link)</span><br><textarea name="sitedesc" cols="50" rows="5" wrap="soft"></textarea></td>
</tr>
<tr>
<td class="bodytextbold"><font color="FF0000">*</font>Reciprocal Link URL:<br><span class="bodytext">(where your reciprocal link will be located)</span><br><input type="Text" name="reciplinklocation" size="50" maxlength="200"></td>
</tr>
<tr>
<td class="bodytextbold">Message:<br><span class="bodytext">(Any additional information you want to provide about your request)</span><br><textarea name="message" cols="50" rows="5" wrap="soft"></textarea></td>
</tr>
<input type="Hidden" name="cid" value="3195">
<tr><td><input type="button" name="Submit" value="Submit" onClick="description()"></td></tr>
</table>
</span>
</form>
</span></td>
</tr>
</table>
Please Help!
The KRYPTOR
