Tags: asp, below, code, file, formgt, html, moving, net, page, tag, unexpected, working

Unexpected end of file looking for </form> tag

On .Net » .Net Asp

13,164 words with 6 Comments; publish: Wed, 05 Dec 2007 10:19:00 GMT; (10078.13, « »)

Not sure what to do here, I never had to change this on any other page I was working on. I pasted the whole HTML code below. I tried moving the </form> tag all over but it didn't work.

<%.aspx.todaysummary.com. Page Language="vb" AutoEventWireup="false" Codebehind="request_info.aspx.vb" Inherits="forms.request_info2"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>

<HEAD>

<title></title>

<style type="text/css">.awmAnchor {

POSITION: relative

}

</style>

<LINK href="/app/links/?link=/forms/css/forms.css" type="text/css" rel="stylesheet">

</HEAD>

<body>

<!-- ******** BEGIN ALLWEBMENUS CODE FOR menu ******** --><span id="xawmMenuPathImg-menu" style="POSITION: absolute; TOP: -50px"><IMG id="awmMenuPathImg-menu" alt="" src="/app/links/?src=/ncccms/includes/bluemenu/awmmenupath.gif"

name="awmMenuPathImg-menu"></span>

<script type="text/javascript">var MenuLinkedBy='AllWebMenus [4]', awmBN='620'; awmAltUrl='';</script>

<script language="JavaScript1.2" src="/app/links/?src=/ncccms/includes/bluemenu/menu.js" type="text/javascript"></script>

<script type="text/javascript">awmBuildMenu();</script>

<!-- ******** END ALLWEBMENUS CODE FOR menu ******** -->

<form id="Form1" method="post" runat="server">

<!--MAIN TABLE-->

<table id="outer" cellSpacing="0" cellPadding="0" width="750" border="0">

<tr>

<td id="header" width="570" colSpan="2" height="50"><!--START HEADER--><a href="/app/links/?link=http://www.northampton.edu"><IMG alt="Northampton Community College!" src="/app/links/?src=/ncccms/images/full_blueheader.jpg" border="0"></a><!--END HEADER--></td>

</tr>

<tr>

<td id="topmenu" colSpan="2" height="20">

<!--START TOP MENU-->

<table cellSpacing="0" cellPadding="0" width="100%">

<tr>

<td width="50%" height="20">

</td>

<td width="50%">

<style type="text/css">.awmAnchor {

POSITION: relative

}

</style>

<span class="awmAnchor" id="awmAnchor-menu">

<IMG alt="spacer" src="/app/links/?src=/ncccms/images/20x20.gif"></span></td>

</tr>

</table>

</td>

<!--END TOP MENU--></tr>

<tr>

<td id="main" vAlign="top" colSpan="2">

<!--START MAIN CONTENT-->

<!-------->

<!-------->

<table cellSpacing="0" cellPadding="0" width="750" border="0">

<tbody>

<tr>

<td width="75"></td>

<td>

<TABLE cellSpacing="0" cellPadding="0" width="423" border="0">

<TBODY>

<tr>

<td colSpan="3" height="15"><FONT size="2"><STRONG></STRONG></FONT></td>

</tr>

<TR>

<TD width="16"><FONT size="2"><STRONG></STRONG></FONT></TD>

<TD width="407">

<P><FONT size="2"><STRONG> Horizons for Youth - Request Information</STRONG></FONT>

</P>

<TABLE id="TABLE1" cellSpacing="0" cellPadding="0" width="407" border="0">

<TBODY>

<TR>

<TD width="1" bgColor="#ffffff"> </TD>

<TD> </TD>

<TD vAlign="top" width="396"><FORM method="post" action="requestinfo.asp" onsubmit="" name="RequestInfo">

<TABLE cellSpacing="0" cellPadding="2" width="425" border="0">

<TBODY>

<TR>

<TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Name:</B></FONT></TD>

<TD width="340"><asp:textbox id="txtName" runat="server"></asp:textbox></TD>

</TR>

<TR>

<TD align="right" width="77" height="27"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Address:

</B></FONT>

</TD>

<TD width="340" height="27"><asp:textbox id="txtAddress1" runat="server" Width="216px"></asp:textbox></TD>

</TR>

<TR>

<TD align="right" width="77" height="26"> </TD>

<TD width="340" height="26"><asp:textbox id="txtAddress2" runat="server" Width="216px"></asp:textbox></TD>

</TR>

<TR>

<TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>City:</B></FONT></TD>

<TD width="340"><asp:textbox id="txtCity" runat="server"></asp:textbox></TD>

</TR>

<TR>

<TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>State:</B></FONT></TD>

<TR>

<TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Zip:</B></FONT></TD>

<TD width="340"><asp:textbox id="txtZIP" runat="server" Width="96px"></asp:textbox></TD>

</TR>

<TR>

<TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Email:</B></FONT></TD>

<TD width="340"><asp:textbox id="txtEmail" runat="server" Width="184px"></asp:textbox></TD>

</TR>

<TR>

<TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Age

of Child:</B></FONT></TD>

<TD width="340"><asp:textbox id="txtAge" runat="server" Width="40px"></asp:textbox></TD>

</TR>

<TR>

<TD width="77"> </TD>

<TD width="340"> </TD>

</TR>

<TR>

<TD width="409" colSpan="2"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Request

more information on:</B></FONT></TD>

</TR>

<TR>

<TD width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"></FONT></TD>

<TD width="340"><asp:dropdownlist id="ddlRequest" runat="server" Width="176px">

<asp:ListItem Value="Select an option" Selected="True">Select an option</asp:ListItem>

<asp:ListItem Value="Summer Catalog">Summer Catalog</asp:ListItem>

<asp:ListItem Value="Fall/Spring Catalog Monroe Campus">Fall/Spring Catalog Monroe Campus</asp:ListItem>

<asp:ListItem Value="Fall/Spring Catalog Main Campus">Fall/Spring Catalog Main Campus</asp:ListItem>

<asp:ListItem Value="Volunteer - Community Service">Volunteer - Community Service</asp:ListItem>

<asp:ListItem Value="Suggest a New Course Idea">Suggest a New Course Idea</asp:ListItem>

<asp:ListItem Value="Becoming an Instructor">Becoming an Instructor</asp:ListItem>

</asp:dropdownlist></TD>

</TR>

<TR>

<TD vAlign="top" width="77"> </TD>

<TD width="340"> </TD>

</TR>

<TR>

<TD vAlign="top" width="77">

<p align="right"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Comments: </B>

</FONT>

</p>

</TD>

<TD width="340"><asp:textbox id="txtComments" runat="server" Width="328px" TextMode="MultiLine" Height="136px"></asp:textbox></TD>

</TR>

<TR>

<TD width="77"> </TD>

<TD width="340"> </TD>

</TR>

<TR>

<TD width="77"> </TD>

<TD width="340">

<asp:button id="btnSubmit" runat="server" Text="Submit"></asp:button><INPUT type="reset" value="Start Again" name="Reset">

</TD>

</TR>

</TBODY></TABLE>

<asp:Label id="lblResult" runat="server" ForeColor="Red"></asp:Label>

</TD>

</TR>

</TBODY></TABLE>

</TD>

</TR>

</TBODY></TABLE>

<br>

<br>

</td>

<td></td>

</tr>

</tbody></table>

<!-------->

<!-------->

<!--END MAIN CONTENT--></td>

</tr>

<TR>

<TD id="footer" colSpan="2" height="20">

<!--START FOOTER--><A href="/app/links/?link=tyui"><FONT style="FONT-SIZE: xx-small; COLOR: #ffffff; TEXT-DECORATION: none">ttui</A> <SUP><STRONG>.</STRONG></SUP> tyuity <SUP><STRONG>.</STRONG></SUP> tyui tyiu <SUP><STRONG>.</STRONG></SUP> tyuityu

<!--END FOOTER--> </FONT></TD>

</form>

</TR> </table>

<!-- Inserted by Content Management Server: BEGIN EmbedBodyEndHook -->

<!-- Inserted by Content Management Server: END EmbedBodyEndHook -->

</body>

</HTML>

All Comments

Leave a comment...

  • 6 Comments
    • <!--END FOOTER-->

      </FONT></TD>

      </form>

      </TR> </table>

      <!-- Inserted by Content Management Server: BEGIN EmbedBodyEndHook -->

      <!-- Inserted by Content Management Server: END EmbedBodyEndHook -->

      </body></HTML>

      Should be:

      <!--END FOOTER-->

      </FONT></TD></TR> </table>

      </form>

      <!-- Inserted by Content Management Server: BEGIN EmbedBodyEndHook -->

      <!-- Inserted by Content Management Server: END EmbedBodyEndHook -->

      </body></HTML>

      #1; Tue, 04 Dec 2007 18:49:00 GMT
    • Hmm, tried that and it still gives me the error.

      <!--END FOOTER--> </FONT></TD>

      </TR>

      </table>

      </form>

      <!-- Inserted by Content Management Server: BEGIN EmbedBodyEndHook -->

      <!-- Inserted by Content Management Server: END EmbedBodyEndHook -->

      </body>

      </HTML>

      #2; Tue, 04 Dec 2007 18:50:00 GMT
    • http://support.microsoft.com/kb/316946
      #3; Tue, 04 Dec 2007 18:51:00 GMT
    • I tried pasting that in there before I posted this and it still gave me the same error. Not sure what else to try.
      #4; Tue, 04 Dec 2007 18:52:00 GMT
    • You have two opening form tags but only 1 closing form tag.
      #5; Tue, 04 Dec 2007 18:53:00 GMT
    • You have two opening form tags but only 1 closing form tag.

      Bah, thanks. Didn't notice that, it did the trick.

      #6; Tue, 04 Dec 2007 18:54:00 GMT