DaiDreamer
Programmer
Hi!
I'm having a problem with my form. How do you call a vbscript function when the submit button is pressed?
Here's my code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Document</title>
<style fprolloverstyle>A:hover {color: #000080; text-decoration: underline}
</style>
<%@ Language=VBScript %>
<%'option explicit%>
</head>
<%
Function CheckFields()
dim count, errors, message, fieldcounter, Sectionconn, Sectionrs, Docconn,Docrs,strSQLQuery, strSQLQuery2
Count=0
Errors=0
Message=""
FieldCounter=1
msgbox("tesitngin"
' Database Stuff to get Section Name
set Sectionconn = server.createobject("ADODB.Connection"
sectionconn.Open "DSN=SuretyDNS"
Session.timeout = 15
Set Session("MyDB_conn" = sectionconn
strSQLQuery = "SELECT Code FROM Sections"
Set Sectionrs = Server.CreateObject("ADODB.Recordset"
sectionrs.Open strSQLQuery, sectionconn, 3, 3
Set sectionrs = Server.CreateObject("ADODB.Recordset"
set Docconn = server.createobject("ADODB.Connection"
Docconn.Open "DSN=SuretyDNS"
Session.timeout = 15
Set Session("MyDB_conn2" = Docconn
strSQLQuery2 = "SELECT Code FROM DocumentTypes"
Set docrs = Server.CreateObject("ADODB.Recordset"
docrs.Open strSQLQuery2, docconn, 3, 3
Set docrs = Server.CreateObject("ADODB.Recordset"
For Fieldcounter = 1 to 4
Select Case Fieldcounter
Case 1
section1=request.form("SectionName1"
If SectionName1 <>"" then
Count=Count+1
BORDocNum1=request.form("BRDocNum1"
If BORDocNum1="" then'from form
Errors=Errors+1
message=Message+"Need to have Basis of Requirement Document Number in Line 1. "
Else
do until sectionrs.eof
if SectionName1=sectionrs("Code" then 'valid
testing=1
if testing<>1 then
Errors=Errors+1
message=Message+"Invalid Section Name in Line 1. "
end if
end if
sectionrs.next
loop
DocType1=request.form("BRDocType1"
If doctype1 <>"" then'invalid
errors = errors +1
message=message + "Invaild DocType in Line 1. "
end if
if Errors >0 then
msgbox (message)
else
AddToDatabase()
end if
end if
end if
Case 2
section2=request.form("SectionName2"
If SectionName2 <>"" then
Count=Count+1
BORDocNum2=request.form("BRDocNum2"
If BORDocNum2="" then 'from form
Errors=Errors+1
message=Message+"Need to have Basis of Requirement Document Number in Line 2. "
Else
do until sectionrs.eof
if SectionName2=sectionrs("Code" then'valid
testing=1
if testing<>1 then
Errors=Errors+1
message=Message+"Invalid Section Name in Line 2. "
end if
end if
sectionrs.next
loop
DocType2=request.form("BRDocType2"
If doctype1 <>"" then 'invalid
errors = errors +1
message=message + "Invaild DocType in Line 2. "
end if
if Errors >0 then
msgbox (message)
else
AddToDatabase()
end if
end if
end if
Case 3
section3=request.form("SectionName3"
If SectionName3 <>"" then
Count=Count+1
BORDocNum3=request.form("BRDocNum3"
If BORDocNum3="" then'from form
Errors=Errors+1
message=Message+"Need to have Basis of Requirement Document Number in Line 3. "
Else
do until sectionrs.eof
if SectionName3=sectionrs("Code" then'valid
testing=1
if testing<>1 then
Errors=Errors+1
message=Message+"Invalid Section Name in Line 3. "
end if
end if
sectionrs.next
loop
DocType3=request.form("BRDocType3"
If doctype1 <>"" then'invalid
errors = errors +1
message=message + "Invaild DocType in Line 3. "
end if
if Errors >0 then
msgbox (message)
else
AddToDatabase()
end if
end if
end if
Case 4
section4=request.form("SectionName4"
If SectionName4 <>"" then
Count=Count+1
BORDocNum4=request.form("BRDocNum4"
If BORDocNum4="" then 'from form
Errors=Errors+1
message=Message+"Need to have Basis of Requirement Document Number in Line 4. "
Else
do until sectionrs.eof
if SectionName4=sectionrs("Code" then'valid
testing=1
if testing<>1 then
Errors=Errors+1
message=Message+"Invalid Section Name in Line 4. "
end if
end if
sectionrs.next
loop
DocType4=request.form("BRDocType4"
If doctype1 <>"" then'invalid
errors = errors +1
message=message + "Invaild DocType in Line 4. "
end if
if Errors >0 then
msgbox (message)
else
AddToDatabase()
end if
end if
end if
end select
next
sectionconn.close
docconn.close
set sectionconn=nothing
set docconn = nothing
end function 'CheckFields()
Function AddtoDatabase()
end function 'AddtoDatabase()
%>
<body stylesrc="Index.html" link="#0066FF" vlink="#0066FF" alink="#0066FF">
<p align="center"><font face="Arial" size="5">
Create New Document Record<br>
</font>
<FORM ACTION="<%= Request.ServerVariables("SCRIPT_NAME" %>" METHOD="post" NAME="TheForm">
<table border="0" cellpadding="0" cellspacing="3" height="204">
<tr>
<td width="7%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="7%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td border="1" bordercolor="#000000" width="22%" align="center" bgcolor="#000080" colspan="3" height="19"><font face="Arial" size="2" color="#FFFF00">Basis
of Requirement</font></td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
</tr>
<tr>
<td width="7%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Section
Name</font></td>
<td width="7%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Date
of Requirement</font></td>
<td width="7%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Document
Type</font></td>
<td width="7%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Document
Number</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Description
of Reason</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Mine,
Program, or Parcel</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Applicant/
Land Owner</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Document
Number</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Issued
by</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Amount</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Expiration
Date</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Date
Issued</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Returned
Date</font></td>
</tr>
<tr>
<td width="7%" height="26" align="center">
<input type="text" name="SectionName1" size="3">
</td>
<td width="7%" height="26" align="center"><input type="text" name="RequireDate1" size="10" value="mm/dd/yyyy">
</td>
<td width="7%" height="26" align="center"><input type="text" name="BRDocType1" size="3">
</td>
<td width="7%" height="26" align="center"><input type="text" name="BRDocNum1" size="10">
</td>
<td width="8%" height="26" align="center"><input type="text" name="Reason1" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Mine1" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Applicant1" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="DocNum1" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Issued1" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Amount1" size="15" value="$"></td>
<td width="8%" height="26" align="center"><input type="text" name="Expiration1" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="26" align="center"><input type="text" name="DateIssued1" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="26" align="center"><input type="text" name="ReturnDate1" size="10" value="mm/dd/yyyy">
</td>
</tr>
<tr>
<td width="7%" height="26" align="center">
<input type="text" name="SectionName2" size="3">
</td>
<td width="7%" height="26" align="center"><input type="text" name="RequireDate2" size="10" value="mm/dd/yyyy">
</td>
<td width="7%" height="26" align="center"><input type="text" name="BRDocType2" size="3">
</td>
<td width="7%" height="26" align="center"><input type="text" name="BRDocType2" size="10">
</td>
<td width="8%" height="26" align="center"><input type="text" name="Reason2" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Mine2" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Applicant2" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="DocNum2" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Issued2" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Amount2" size="15" value="$"></td>
<td width="8%" height="26" align="center"><input type="text" name="Expiration2" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="26" align="center"><input type="text" name="DateIssued2" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="26" align="center"><input type="text" name="ReturnDate2" size="10" value="mm/dd/yyyy">
</td>
</tr>
<tr>
<td width="7%" height="19" align="center"><input type="text" name="SectionName3" size="3">
</td>
<td width="7%" height="19" align="center"><input type="text" name="RequireDate3" size="10" value="mm/dd/yyyy">
</td>
<td width="7%" height="19" align="center"><input type="text" name="BRDocType3" size="3"></td>
<td width="7%" height="19" align="center"><input type="text" name="BRDocType3" size="10">
</td>
<td width="8%" height="19" align="center"><input type="text" name="Reason3" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Mine3" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Applicant3" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="DocNum3" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Issued3" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Amount3" size="15" value="$"></td>
<td width="8%" height="19" align="center"><input type="text" name="Expiration3" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="19" align="center"><input type="text" name="DateIssued3" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="19" align="center"><input type="text" name="ReturnDate3" size="10" value="mm/dd/yyyy">
</td>
</tr>
<tr>
<td width="7%" height="19" align="center"><input type="text" name="SectionName4" size="3">
</td>
<td width="7%" height="19" align="center"><input type="text" name="RequireDate4" size="10" value="mm/dd/yyyy">
</td>
<td width="7%" height="19" align="center"><input type="text" name="BRDocType4" size="3">
</td>
<td width="7%" height="19" align="center"><input type="text" name="BRDocType4" size="10">
</td>
<td width="8%" height="19" align="center"><input type="text" name="Reason4" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Mine4" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Applicant4" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="DocNum4" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Issued4" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Amount4" size="15" value="$"></td>
<td width="8%" height="19" align="center"><input type="text" name="Expiration4" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="19" align="center"><input type="text" name="DateIssued4" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="19" align="center"><input type="text" name="ReturnDate4" size="10" value="mm/dd/yyyy">
</td>
</tr>
</table>
<p align="right"><input type="submit" Onclick= <%msgbox"testing"%> value="Submit"><input type="reset" value="Reset"></p>
</form>
<p align="right"><font face="Arial"><a href="Index.html">Back</a></font> <img border="0" src="images/reeds.gif" width="200" height="198" align="left"></p>
</body>
</html>
Thanks!
DaiDreamer
I'm having a problem with my form. How do you call a vbscript function when the submit button is pressed?
Here's my code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Document</title>
<style fprolloverstyle>A:hover {color: #000080; text-decoration: underline}
</style>
<%@ Language=VBScript %>
<%'option explicit%>
</head>
<%
Function CheckFields()
dim count, errors, message, fieldcounter, Sectionconn, Sectionrs, Docconn,Docrs,strSQLQuery, strSQLQuery2
Count=0
Errors=0
Message=""
FieldCounter=1
msgbox("tesitngin"
' Database Stuff to get Section Name
set Sectionconn = server.createobject("ADODB.Connection"
sectionconn.Open "DSN=SuretyDNS"
Session.timeout = 15
Set Session("MyDB_conn" = sectionconn
strSQLQuery = "SELECT Code FROM Sections"
Set Sectionrs = Server.CreateObject("ADODB.Recordset"
sectionrs.Open strSQLQuery, sectionconn, 3, 3
Set sectionrs = Server.CreateObject("ADODB.Recordset"
set Docconn = server.createobject("ADODB.Connection"
Docconn.Open "DSN=SuretyDNS"
Session.timeout = 15
Set Session("MyDB_conn2" = Docconn
strSQLQuery2 = "SELECT Code FROM DocumentTypes"
Set docrs = Server.CreateObject("ADODB.Recordset"
docrs.Open strSQLQuery2, docconn, 3, 3
Set docrs = Server.CreateObject("ADODB.Recordset"
For Fieldcounter = 1 to 4
Select Case Fieldcounter
Case 1
section1=request.form("SectionName1"
If SectionName1 <>"" then
Count=Count+1
BORDocNum1=request.form("BRDocNum1"
If BORDocNum1="" then'from form
Errors=Errors+1
message=Message+"Need to have Basis of Requirement Document Number in Line 1. "
Else
do until sectionrs.eof
if SectionName1=sectionrs("Code" then 'valid
testing=1
if testing<>1 then
Errors=Errors+1
message=Message+"Invalid Section Name in Line 1. "
end if
end if
sectionrs.next
loop
DocType1=request.form("BRDocType1"
If doctype1 <>"" then'invalid
errors = errors +1
message=message + "Invaild DocType in Line 1. "
end if
if Errors >0 then
msgbox (message)
else
AddToDatabase()
end if
end if
end if
Case 2
section2=request.form("SectionName2"
If SectionName2 <>"" then
Count=Count+1
BORDocNum2=request.form("BRDocNum2"
If BORDocNum2="" then 'from form
Errors=Errors+1
message=Message+"Need to have Basis of Requirement Document Number in Line 2. "
Else
do until sectionrs.eof
if SectionName2=sectionrs("Code" then'valid
testing=1
if testing<>1 then
Errors=Errors+1
message=Message+"Invalid Section Name in Line 2. "
end if
end if
sectionrs.next
loop
DocType2=request.form("BRDocType2"
If doctype1 <>"" then 'invalid
errors = errors +1
message=message + "Invaild DocType in Line 2. "
end if
if Errors >0 then
msgbox (message)
else
AddToDatabase()
end if
end if
end if
Case 3
section3=request.form("SectionName3"
If SectionName3 <>"" then
Count=Count+1
BORDocNum3=request.form("BRDocNum3"
If BORDocNum3="" then'from form
Errors=Errors+1
message=Message+"Need to have Basis of Requirement Document Number in Line 3. "
Else
do until sectionrs.eof
if SectionName3=sectionrs("Code" then'valid
testing=1
if testing<>1 then
Errors=Errors+1
message=Message+"Invalid Section Name in Line 3. "
end if
end if
sectionrs.next
loop
DocType3=request.form("BRDocType3"
If doctype1 <>"" then'invalid
errors = errors +1
message=message + "Invaild DocType in Line 3. "
end if
if Errors >0 then
msgbox (message)
else
AddToDatabase()
end if
end if
end if
Case 4
section4=request.form("SectionName4"
If SectionName4 <>"" then
Count=Count+1
BORDocNum4=request.form("BRDocNum4"
If BORDocNum4="" then 'from form
Errors=Errors+1
message=Message+"Need to have Basis of Requirement Document Number in Line 4. "
Else
do until sectionrs.eof
if SectionName4=sectionrs("Code" then'valid
testing=1
if testing<>1 then
Errors=Errors+1
message=Message+"Invalid Section Name in Line 4. "
end if
end if
sectionrs.next
loop
DocType4=request.form("BRDocType4"
If doctype1 <>"" then'invalid
errors = errors +1
message=message + "Invaild DocType in Line 4. "
end if
if Errors >0 then
msgbox (message)
else
AddToDatabase()
end if
end if
end if
end select
next
sectionconn.close
docconn.close
set sectionconn=nothing
set docconn = nothing
end function 'CheckFields()
Function AddtoDatabase()
end function 'AddtoDatabase()
%>
<body stylesrc="Index.html" link="#0066FF" vlink="#0066FF" alink="#0066FF">
<p align="center"><font face="Arial" size="5">
Create New Document Record<br>
</font>
<FORM ACTION="<%= Request.ServerVariables("SCRIPT_NAME" %>" METHOD="post" NAME="TheForm">
<table border="0" cellpadding="0" cellspacing="3" height="204">
<tr>
<td width="7%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="7%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td border="1" bordercolor="#000000" width="22%" align="center" bgcolor="#000080" colspan="3" height="19"><font face="Arial" size="2" color="#FFFF00">Basis
of Requirement</font></td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
<td width="8%" align="center" bgcolor="#FFFFFF" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF" height="19"> </td>
</tr>
<tr>
<td width="7%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Section
Name</font></td>
<td width="7%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Date
of Requirement</font></td>
<td width="7%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Document
Type</font></td>
<td width="7%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Document
Number</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Description
of Reason</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Mine,
Program, or Parcel</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Applicant/
Land Owner</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Document
Number</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Issued
by</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Amount</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Expiration
Date</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Date
Issued</font></td>
<td width="8%" align="center" bgcolor="#000080" height="48"><font face="Arial" size="2" color="#FFFFFF">Returned
Date</font></td>
</tr>
<tr>
<td width="7%" height="26" align="center">
<input type="text" name="SectionName1" size="3">
</td>
<td width="7%" height="26" align="center"><input type="text" name="RequireDate1" size="10" value="mm/dd/yyyy">
</td>
<td width="7%" height="26" align="center"><input type="text" name="BRDocType1" size="3">
</td>
<td width="7%" height="26" align="center"><input type="text" name="BRDocNum1" size="10">
</td>
<td width="8%" height="26" align="center"><input type="text" name="Reason1" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Mine1" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Applicant1" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="DocNum1" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Issued1" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Amount1" size="15" value="$"></td>
<td width="8%" height="26" align="center"><input type="text" name="Expiration1" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="26" align="center"><input type="text" name="DateIssued1" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="26" align="center"><input type="text" name="ReturnDate1" size="10" value="mm/dd/yyyy">
</td>
</tr>
<tr>
<td width="7%" height="26" align="center">
<input type="text" name="SectionName2" size="3">
</td>
<td width="7%" height="26" align="center"><input type="text" name="RequireDate2" size="10" value="mm/dd/yyyy">
</td>
<td width="7%" height="26" align="center"><input type="text" name="BRDocType2" size="3">
</td>
<td width="7%" height="26" align="center"><input type="text" name="BRDocType2" size="10">
</td>
<td width="8%" height="26" align="center"><input type="text" name="Reason2" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Mine2" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Applicant2" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="DocNum2" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Issued2" size="20"></td>
<td width="8%" height="26" align="center"><input type="text" name="Amount2" size="15" value="$"></td>
<td width="8%" height="26" align="center"><input type="text" name="Expiration2" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="26" align="center"><input type="text" name="DateIssued2" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="26" align="center"><input type="text" name="ReturnDate2" size="10" value="mm/dd/yyyy">
</td>
</tr>
<tr>
<td width="7%" height="19" align="center"><input type="text" name="SectionName3" size="3">
</td>
<td width="7%" height="19" align="center"><input type="text" name="RequireDate3" size="10" value="mm/dd/yyyy">
</td>
<td width="7%" height="19" align="center"><input type="text" name="BRDocType3" size="3"></td>
<td width="7%" height="19" align="center"><input type="text" name="BRDocType3" size="10">
</td>
<td width="8%" height="19" align="center"><input type="text" name="Reason3" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Mine3" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Applicant3" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="DocNum3" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Issued3" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Amount3" size="15" value="$"></td>
<td width="8%" height="19" align="center"><input type="text" name="Expiration3" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="19" align="center"><input type="text" name="DateIssued3" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="19" align="center"><input type="text" name="ReturnDate3" size="10" value="mm/dd/yyyy">
</td>
</tr>
<tr>
<td width="7%" height="19" align="center"><input type="text" name="SectionName4" size="3">
</td>
<td width="7%" height="19" align="center"><input type="text" name="RequireDate4" size="10" value="mm/dd/yyyy">
</td>
<td width="7%" height="19" align="center"><input type="text" name="BRDocType4" size="3">
</td>
<td width="7%" height="19" align="center"><input type="text" name="BRDocType4" size="10">
</td>
<td width="8%" height="19" align="center"><input type="text" name="Reason4" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Mine4" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Applicant4" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="DocNum4" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Issued4" size="20"></td>
<td width="8%" height="19" align="center"><input type="text" name="Amount4" size="15" value="$"></td>
<td width="8%" height="19" align="center"><input type="text" name="Expiration4" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="19" align="center"><input type="text" name="DateIssued4" size="10" value="mm/dd/yyyy">
</td>
<td width="8%" height="19" align="center"><input type="text" name="ReturnDate4" size="10" value="mm/dd/yyyy">
</td>
</tr>
</table>
<p align="right"><input type="submit" Onclick= <%msgbox"testing"%> value="Submit"><input type="reset" value="Reset"></p>
</form>
<p align="right"><font face="Arial"><a href="Index.html">Back</a></font> <img border="0" src="images/reeds.gif" width="200" height="198" align="left"></p>
</body>
</html>
Thanks!
DaiDreamer