[quoted text, click to view] Jeff Cochran wrote:
> *On Thu, 13 Jul 2006 02:23:14 -0500, camille0017
> <camille0017.2avuwe@mail.webservertalk.com> wrote:
>
> >
> >Hi. I need help and I didn't know where to put this thread exactly.
> I
> >work for my school's office. We had a problem regarding email
> sending.
> >We contacted the company who setup our system but they won't return
> any
> >of our calls. I don't know anything about IIS so here I am asking
> for
> >help. I'm attaching the html here. The problem is it won't validate
> if
> >field is empty or less than what is required and it won't send the
> >email. Please help.
>
> Don't attach anything, post the code in your message. Many o us
> can't
> or won't receive attachments.
>
> Jeff *
Oh... Sorry....here's the code....thanks...
<html><head>
<meta http-equiv="Content-Type" content="text/html; iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0"><title>Request
for Vacation Form</title></head><body>
<!--webbot bot="Include" U-Include="include/maitop.htm" TAG="BODY"
startspan -->
<div align="center"><center>
</center></div>
<!--webbot bot="Include" i-checksum="65018" endspan -->
<h1 align="center">Request for Vacation</h1>
<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script
language="JavaScript" type="text/javascript"><!--
function FrontPage_Form1_Validator(theForm)
{
if (theForm.Employee_FullName.value == "")
{
alert("Please enter a value for the \"Name\" field.");
theForm.Employee_FullName.focus();
return (false);
}
if (theForm.Employee_FullName.value.length < 4)
{
alert("Please enter at least 4 characters in the \"Name\"
field.");
theForm.Employee_FullName.focus();
return (false);
}
if (theForm.Vacation_Dates.value == "")
{
alert("Please enter a value for the \"Dates Requested\" field.");
theForm.Vacation_Dates.focus();
return (false);
}
if (theForm.Vacation_Dates.value.length < 3)
{
alert("Please enter at least 3 characters in the \"Dates
Requested\" field.");
theForm.Vacation_Dates.focus();
return (false);
}
return (true);
}
//--></script><!--webbot BOT="GeneratedScript" endspan --><form
method="post" action="../_derived/nortbots.htm"
onsubmit="location.href='../_derived/nortbots.htm';return false;"
name="FrontPage_Form1" language="JavaScript"
webbot-action="--WEBBOT-SELF--" webbot-onsubmit="return
FrontPage_Form1_Validator(this)">
<!--webbot bot="SaveResults" startspan U-File="formrslt.htm"
S-Format="HTML/DL" S-Label-Fields="TRUE"
B-Reverse-Chronology="FALSE"
S-Email-Format="TEXT/PRE" B-Email-Label-Fields="TRUE"
B-Email-Subject-From-Field="FALSE" S-Email-Subject="Employee Vacation
Request"
S-Builtin-Fields="REMOTE_NAME REMOTE_USER HTTP_USER_AGENT"
S-Email-Address="camia@lksc.local" --><input name="VTI-GROUP"
value="0" type="hidden"><!--webbot
bot="SaveResults" endspan i-checksum="43374" --><blockquote>
<div align="center"><center><table height="72" width="477">
<tbody><tr>
<td align="right" height="25" width="128"><em>Name</em></td>
<td height="25" width="341">
<!--webbot bot="Validation" s-display-name="Name"
b-value-required="TRUE" i-minimum-length="4" --><input
name="Employee_FullName" size="35"> </td>
</tr>
<tr>
<td align="right" height="39" width="128"><em>Dates
Requested</em></td>
<td height="39" width="341">
<!--webbot bot="Validation" s-display-name="Dates Requested"
b-value-required="TRUE" i-minimum-length="3" --><input
name="Vacation_Dates" size="35"> </td>
</tr>
</tbody></table>
</center></div>
</blockquote>
<div align="center"><center><p><input value="Submit Vacation Request"
type="submit"> <input value="Clear Form" type="reset"> </p>
</center></div><div align="center"><center><p><em><strong>Completing
this form does not
guarantee that your request will be granted.</strong></em></p>
</center></div><div align="center"><center><p><em><strong>Accounting
will notify you
within 24 hours with the results.</strong></em></p>
</center></div>
</form>
</body></html>
--
camille0017
------------------------------------------------------------------------
Posted via
http://www.webservertalk.com ------------------------------------------------------------------------
View this thread:
http://www.webservertalk.com/message1582376.html