Advertisement
Guest User

Untitled

a guest
Oct 6th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 2.66 KB | None | 0 0
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="FormValidation.Default" %>
  2.  
  3. <!DOCTYPE html>
  4.  
  5. <html xmlns="http://www.w3.org/1999/xhtml">
  6. <head runat="server">
  7.     <title>Centennial</title>
  8.     <link rel = "stylesheet" type = "text/css" href = "DefaultStyle.css" />
  9. </head>
  10. <body>
  11.     <form id="form1" runat="server">
  12.     <div>
  13.         <asp:Panel ID="stuffPanel" runat="server">
  14.         First Name*: <asp:TextBox ID="firstBox" TextMode="SingleLine" Columns="30" runat="server" /> <asp:Label ID="firstLabel" runat="server" Text="" /> <br />
  15.         Last Name*: <asp:TextBox ID="lastBox" TextMode="SingleLine" Columns="30" runat="server" /> <asp:Label ID="lastLabel" runat="server" Text="" /> <br />
  16.         Address*: <asp:TextBox ID="addBox" TextMode="Multiline" Columns="40" Rows="2" runat="server" /> <asp:Label ID="addLabel" runat="server" Text="" /> <br />
  17.         Province*: <asp:TextBox ID="provBox" TextMode="SingleLine" Columns="2" runat="server" /> <asp:Label ID="provLabel" runat="server" Text="" /> <br />
  18.         Postal Code*: <asp:TextBox ID="postBox" TextMode="SingleLine" Columns="10" runat="server" /> <asp:Label ID="postLabel" runat="server" Text="" /> <br />
  19.         Age*: <asp:TextBox ID="ageBox" TextMode="SingleLine" Columns="3" runat="server" /> <asp:Label ID="ageLabel" runat="server" Text="" /> <br />
  20.         Password*: <asp:TextBox ID="passBox" TextMode="Password" Columns="30" runat="server" /> <asp:Label ID="passLabel" runat="server" Text="" /> <br />
  21.         Confirm Password*: <asp:TextBox ID="passConBox" TextMode="Password" Columns="30" runat="server" /> <asp:Label ID="passConLabel" runat="server" Text="" /> <br />
  22.         Email*: <asp:TextBox ID="emailBox" TextMode="SingleLine" Columns="20" runat="server" /> <asp:Label ID="emailLabel" runat="server" Text="" /><br />
  23.         Alternative Email: <asp:TextBox ID="emailAltBox" TextMode="SingleLine" Columns="20" runat="server" /> <br />
  24.         Phone: <asp:TextBox ID="phoneBox" TextMode="SingleLine" Columns="20" runat="server" /> <br />
  25.         Enter Another Member?: <asp:CheckBox ID="anotherCheck" runat="server" />
  26.  
  27.         <asp:Button ID="submitButt" Text="Submit" OnClick="validateForm" runat="server" /> <asp:Button ID="resetButt" Text="Clear Form" OnClick="resetAll" runat="server" />
  28.         <p><asp:Label ID="nextLabel" runat="server" /></p>
  29.         </asp:Panel>
  30.         <asp:Panel ID="successPanel" runat="server">
  31.             <p>Success! You will recieve a confirmation email in about 5 minutes.</p>
  32.             <p>(If you do not see the email, try checking your spam folder!)</p>
  33.  
  34.         </asp:Panel>
  35.  
  36.  
  37.     </div>
  38.     </form>
  39. </body>
  40. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement