Results 1 to 7 of 7

Thread: [RESOLVED] Unexpected end of file looking for </form> tag

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2007
    Posts
    131

    Resolved [RESOLVED] Unexpected end of file looking for </form> tag

    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.


    vb Code:
    1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="request_info.aspx.vb" Inherits="forms.request_info2"%>
    2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    3. <HTML>
    4.     <HEAD>
    5.         <title></title>
    6.         <style type="text/css">.awmAnchor {
    7.     POSITION: relative
    8. }
    9. </style>
    10.         <LINK href="/forms/css/forms.css" type="text/css" rel="stylesheet">
    11.     </HEAD>
    12.     <body>
    13.         <!-- ******** BEGIN ALLWEBMENUS CODE FOR menu ******** --><span id="xawmMenuPathImg-menu" style="POSITION: absolute; TOP: -50px"><IMG id="awmMenuPathImg-menu" alt="" src="/ncccms/includes/bluemenu/awmmenupath.gif"
    14.                 name="awmMenuPathImg-menu"></span>
    15.         <script type="text/javascript">var MenuLinkedBy='AllWebMenus [4]', awmBN='620'; awmAltUrl='';</script>
    16.         <script language="JavaScript1.2" src="/ncccms/includes/bluemenu/menu.js" type="text/javascript"></script>
    17.         <script type="text/javascript">awmBuildMenu();</script>
    18.         <!-- ******** END ALLWEBMENUS CODE FOR menu ******** -->
    19.         <form id="Form1" method="post" runat="server">
    20.             <!--MAIN TABLE-->
    21.             <table id="outer" cellSpacing="0" cellPadding="0" width="750" border="0">
    22.                 <tr>
    23.                     <td id="header" width="570" colSpan="2" height="50"><!--START HEADER--><a href="http://www.northampton.edu"><IMG alt="Northampton Community College!" src="/ncccms/images/full_blueheader.jpg" border="0"></a><!--END HEADER--></td>
    24.                 </tr>
    25.                 <tr>
    26.                     <td id="topmenu" colSpan="2" height="20">
    27.                         <!--START TOP MENU-->
    28.                         <table cellSpacing="0" cellPadding="0" width="100%">
    29.                             <tr>
    30.                                 <td width="50%" height="20">&nbsp;
    31.                                 </td>
    32.                                 <td width="50%">
    33.                                     <style type="text/css">.awmAnchor {
    34.     POSITION: relative
    35. }
    36. </style>
    37.                                     <span class="awmAnchor" id="awmAnchor-menu">
    38.                                         <IMG alt="spacer" src="/ncccms/images/20x20.gif"></span></td>
    39.                             </tr>
    40.                         </table>
    41.                     </td>
    42.                     <!--END TOP MENU--></tr>
    43.                 <tr>
    44.                     <td id="main" vAlign="top" colSpan="2">
    45.                         <!--START MAIN CONTENT-->
    46.                         <!-------------------------->
    47.                         <!-------------------------->
    48.                         <table cellSpacing="0" cellPadding="0" width="750" border="0">
    49.                             <tbody>
    50.                                 <tr>
    51.                                     <td width="75"></td>
    52.                                     <td>
    53.                                         <TABLE cellSpacing="0" cellPadding="0" width="423" border="0">
    54.                                             <TBODY>
    55.                                                 <tr>
    56.                                                     <td colSpan="3" height="15"><FONT size="2"><STRONG></STRONG></FONT></td>
    57.                                                 </tr>
    58.                                                 <TR>
    59.                                                     <TD width="16"><FONT size="2"><STRONG></STRONG></FONT></TD>
    60.                                                     <TD width="407">
    61.                                                         <P><FONT size="2"><STRONG>&nbsp;Horizons for Youth - Request Information</STRONG></FONT>
    62.                                                         </P>
    63.                                                         <TABLE id="TABLE1" cellSpacing="0" cellPadding="0" width="407" border="0">
    64.                                                             <TBODY>
    65.                                                                 <TR>
    66.                                                                     <TD width="1" bgColor="#ffffff">&nbsp;</TD>
    67.                                                                     <TD>&nbsp;</TD>
    68.                                                                     <TD vAlign="top" width="396"><FORM method="post" action="requestinfo.asp" onsubmit="" name="RequestInfo">
    69.                                                                             <TABLE cellSpacing="0" cellPadding="2" width="425" border="0">
    70.                                                                                 <TBODY>
    71.                                                                                     <TR>
    72.                                                                                         <TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Name:</B></FONT></TD>
    73.                                                                                         <TD width="340"><asp:textbox id="txtName" runat="server"></asp:textbox></TD>
    74.                                                                                     </TR>
    75.                                                                                     <TR>
    76.                                                                                         <TD align="right" width="77" height="27"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Address:
    77.                                                                                                 </B></FONT>
    78.                                                                                         </TD>
    79.                                                                                         <TD width="340" height="27"><asp:textbox id="txtAddress1" runat="server" Width="216px"></asp:textbox></TD>
    80.                                                                                     </TR>
    81.                                                                                     <TR>
    82.                                                                                         <TD align="right" width="77" height="26">&nbsp;</TD>
    83.                                                                                         <TD width="340" height="26"><asp:textbox id="txtAddress2" runat="server" Width="216px"></asp:textbox></TD>
    84.                                                                                     </TR>
    85.                                                                                     <TR>
    86.                                                                                         <TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>City:</B></FONT></TD>
    87.                                                                                         <TD width="340"><asp:textbox id="txtCity" runat="server"></asp:textbox></TD>
    88.                                                                                     </TR>
    89.                                                                                     <TR>
    90.                                                                                         <TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>State:</B></FONT></TD>
    91.                                                                                        
    92.                                                                                     <TR>
    93.                                                                                         <TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Zip:</B></FONT></TD>
    94.                                                                                         <TD width="340"><asp:textbox id="txtZIP" runat="server" Width="96px"></asp:textbox></TD>
    95.                                                                                     </TR>
    96.                                                                                     <TR>
    97.                                                                                         <TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Email:</B></FONT></TD>
    98.                                                                                         <TD width="340"><asp:textbox id="txtEmail" runat="server" Width="184px"></asp:textbox></TD>
    99.                                                                                     </TR>
    100.                                                                                     <TR>
    101.                                                                                         <TD align="right" width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Age
    102.                                                                                                     of Child:</B></FONT></TD>
    103.                                                                                         <TD width="340"><asp:textbox id="txtAge" runat="server" Width="40px"></asp:textbox></TD>
    104.                                                                                     </TR>
    105.                                                                                     <TR>
    106.                                                                                         <TD width="77">&nbsp;</TD>
    107.                                                                                         <TD width="340">&nbsp;</TD>
    108.                                                                                     </TR>
    109.                                                                                     <TR>
    110.                                                                                         <TD width="409" colSpan="2"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Request
    111.                                                                                                     more information on:</B></FONT></TD>
    112.                                                                                     </TR>
    113.                                                                                     <TR>
    114.                                                                                         <TD width="77"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"></FONT></TD>
    115.                                                                                         <TD width="340"><asp:dropdownlist id="ddlRequest" runat="server" Width="176px">
    116.                                                                                                 <asp:ListItem Value="Select an option" Selected="True">Select an option</asp:ListItem>
    117.                                                                                                 <asp:ListItem Value="Summer Catalog">Summer Catalog</asp:ListItem>
    118.                                                                                                 <asp:ListItem Value="Fall/Spring Catalog Monroe Campus">Fall/Spring Catalog Monroe Campus</asp:ListItem>
    119.                                                                                                 <asp:ListItem Value="Fall/Spring Catalog Main Campus">Fall/Spring Catalog Main Campus</asp:ListItem>
    120.                                                                                                 <asp:ListItem Value="Volunteer - Community Service">Volunteer - Community Service</asp:ListItem>
    121.                                                                                                 <asp:ListItem Value="Suggest a New Course Idea">Suggest a New Course Idea</asp:ListItem>
    122.                                                                                                 <asp:ListItem Value="Becoming an Instructor">Becoming an Instructor</asp:ListItem>
    123.                                                                                             </asp:dropdownlist></TD>
    124.                                                                                     </TR>
    125.                                                                                     <TR>
    126.                                                                                         <TD vAlign="top" width="77">&nbsp;</TD>
    127.                                                                                         <TD width="340">&nbsp;</TD>
    128.                                                                                     </TR>
    129.                                                                                     <TR>
    130.                                                                                         <TD vAlign="top" width="77">
    131.                                                                                             <p align="right"><FONT face="Verdana, Arial, Helvetica, sans-serif" size="1"><B>Comments: </B>
    132.                                                                                                 </FONT>
    133.                                                                                             </p>
    134.                                                                                         </TD>
    135.                                                                                         <TD width="340"><asp:textbox id="txtComments" runat="server" Width="328px" TextMode="MultiLine" Height="136px"></asp:textbox></TD>
    136.                                                                                     </TR>
    137.                                                                                     <TR>
    138.                                                                                         <TD width="77">&nbsp;</TD>
    139.                                                                                         <TD width="340">&nbsp;</TD>
    140.                                                                                     </TR>
    141.                                                                                     <TR>
    142.                                                                                         <TD width="77">&nbsp;</TD>
    143.                                                                                         <TD width="340">&nbsp;
    144.                                                                                             <asp:button id="btnSubmit" runat="server" Text="Submit"></asp:button><INPUT type="reset" value="Start Again" name="Reset">
    145.                                                                                         </TD>
    146.                                                                                     </TR>
    147.                                                                                 </TBODY></TABLE>
    148.                                                                             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    149.                                                                             <asp:Label id="lblResult" runat="server" ForeColor="Red"></asp:Label>
    150.                                                                     </TD>
    151.                                                                 </TR>
    152.                                                             </TBODY></TABLE>
    153.                                                     </TD>
    154.                                                 </TR>
    155.                                             </TBODY></TABLE>
    156.                                         <br>
    157.                                         <br>
    158.                                     </td>
    159.                                     <td></td>
    160.                                 </tr>
    161.                             </tbody></table>
    162.                         <!-------------------------->
    163.                         <!-------------------------->
    164.                         <!--END MAIN CONTENT--></td>
    165.                 </tr>
    166.                 <TR>
    167.                     <TD id="footer" colSpan="2" height="20">
    168.                         <!--START FOOTER--><A href="tyui"><FONT style="FONT-SIZE: xx-small; COLOR: #ffffff; TEXT-DECORATION: none">ttui</A> &nbsp;<SUP><STRONG>.</STRONG></SUP>&nbsp;tyuity&nbsp;<SUP><STRONG>.</STRONG></SUP>&nbsp;tyui tyiu&nbsp; <SUP><STRONG>.</STRONG></SUP>&nbsp;tyuityu
    169.                         <!--END FOOTER--> </FONT></TD>
    170.         </form>
    171.         </TR> </table>
    172.         <!-- Inserted by Content Management Server: BEGIN EmbedBodyEndHook -->
    173.         <!-- Inserted by Content Management Server: END EmbedBodyEndHook -->
    174.     </body>
    175. </HTML>
    Last edited by meef; Oct 18th, 2007 at 09:02 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width