yahve, I will try what you suggested. Boomerang, I will attach all of my code to this reply. Please remember that I am relatively new at this. I am still working on getting the validation to work, so my code may be choppy as it is still a work in progress.
Thank you for your help.
<!-- #include virtual="/scripts/header.asp" -->
<Script Language="JavaScript">
function validateForm(form)
{
var why = "";
why += validate_name(str.SubmittedBy.value);
why += validate_issue(str.IssueLessonLearned.value);
why += validate_division(choice.Division.value);
why += validate_phone(str.Phone.value);
why += validate_length(str.IssueLessonLearned.value, str.Discussion.value, str.Recommendation.value);
if (why != ""
{
alert(why);
return false;
}
return true;
}
function validate_name(str)
{
if(str.SubmittedBy.value == ""

{
alert("Please enter your name"

;
str.SubmittedBy.focus();
return false;
}
}
function validate_issue(str)
}
if(str.IssueLessonLearned.value == ""

{
alert("Please enter an issue or lesson learned"

;
str.IssueLessonLearned.focus();
return false;
}
}
function validate_division(choice)
{
index = document.user_info.Division.SelectedIndex;
if (index == 0)
{
alert("Please select a division"

;
}
}
function validatePhone()
{
var telephone=document.frmAddLesson.strphone.value
if(telephone.match(/\d{10}/))
{
document.frmAddLesson.strphone.value="" + telephone.substring(0,3) + "-"
+ telephone.substring(3,6) + "-"
+ telephone.substring(6,10)
}
else if(!telephone.match(/\d{3}(\s|-)\d{3}(\s|-)\d{4}/))
{
alert("Please enter a valid 10 digit phone number."

document.frmAddLesson.strphone.value=""
document.frmAddLesson.strphone.focus();
document.frmAddLesson.strphone.select();
return false;
}
}
function validate_length(str)
{
var maxlength=5000
if (cur.chars.value.length>maxlength){
alert("Please restrain your input to 5000 or less characters!"

return false;
}
</script>
<%
Dim LESSONS_LEARNED, strLessonID, strIssueLessonLearned, strDiscussion
Dim strRecommendation, strDivision, strSubmittedBy, strPhone
%>
<BODY BGCOLOR=WHITE LINK="#192A60" VLINK="#304385">
<% Select Case Request.ServerVariables("REQUEST_METHOD"

%>
<% Case "POST"
strIssueLessonLearned = Trim(request.form("strIssueLessonLearned"

)
strDiscussion = Trim(request.form("strDiscussion"

)
strRecommendation = Trim(request.form("strRecommendation"

)
strDivision = Trim(request.form("strDivision"

)
strSubmittedBy = Trim(request.form("strSubmittedBy"

)
strPhone = Trim(request.form("strPhone"

)
'strSQL = "SELECT * from LESSONS_LEARNED ORDER BY LessonID"
'DBGetRecords(strSQL)
sSQL = "INSERT INTO LESSONS_LEARNED (IssueLessonLearned, Discussion, Recommendation, Division, SubmittedBy, Phone) VALUES ('" & strIssueLessonLearned & "','" & strDiscussion & "','" & strRecommendation & "','" & strDivision & "','" & strSubmittedBy & "','" & strPhone & "')"
oRecordSet = oConnection.Execute( sSQL )
%>
<h2>Thank-you for submitting your Issue/Lesson Learned. You can view all submitted Issues and Lessons Learned by clicking on the link below.</h2>
<br><br>
<a href="add_lesson.asp">Return to Add Issue/Lesson Learned Form</a><br>
<a href="ll_results.asp">View all Lessons Learned</a>
<% Case Else %>
<!-- Body Begins Here -->
<TABLE BORDER=0 CELLPADDING=10>
<TD WIDTH="90%">
<p align="left"><b>Complete the form below and click the Submit button to add an Issue/Lesson Learned to the database</b></p>
<form id="frmAddLesson" name="frmAddLesson" action="add_lesson.asp" method="POST" onSubmit=return(validateForm.this>
<table width="100%" border=1>
<tr>
<th colspan="6">Issue/Lesson Learned Information</th>
</tr>
<tr>
<td class="field">Issue/Lesson Learned:<br><font style="font-weight:bold" size="-2">(Limit 5000 characters)</font>
</td>
<td><textarea name="strIssueLessonLearned" rows=5 cols=35 maxlength=5000 wrap="physical">
</textarea></td>
</tr>
<tr>
<td class="field">Discussion:<br><font style="font-weight:bold" size="-2">(Limit 5000 characters)</font>
</td>
<td><textarea name="strDiscussion" rows=5 cols=35 maxlength=5000 wrap="physical">
</textarea></td>
</tr>
<tr>
<td class="field">Recommendation:<br><font style="font-weight:bold" size="-2">(Limit 5000 characters)</font>
</td>
<td>
<textarea name="strRecommendation" rows=5 cols=35 maxlength=5000 wrap="physical">
</textarea></td>
</tr>
<tr>
<td class="field">Division:
</td>
<td>
<Select NAME="Division" onFocus="window.status='Division'" onBlur="window.status=''">
<option><Choose One>
<option value=Admin>Admin
<option value=Networks>Networks
<option value=R&S>R&S
<option value=StratComms>StratComms
<option value=Security>Security
<option value=IP>IP
<option value=PM>PM
<option value=XO>XO</select>
</FONT>
</TD>
</tr>
<tr>
<td class="field">Submitted By:
</td>
<td colspan="5">
<input type=text name="strSubmittedBy" size=50 onChange="validate_name(this.form.strSubmittedBy)">
</td>
</tr>
<tr>
<td class="field">Phone Number:<br><font size="-2"><i>XXX-XXX-XXXX
</td>
<td colspan="5">
<input type=text name="strPhone" size=10>
</td>
</tr>
</table>
<br><hr><input type=submit value="Submit >>"><input type=reset value="Reset ">
</form>
<br><br>
<a href="ll_results.asp">View all Lessons Learned</a>
<!-- End Body -->
</TR>
</TABLE>
<% End Select %>
<!-- Body Ends Here -->
<!-- #include virtual="/scripts/footer.asp" -->