Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by Deepak Rajput ( 13 years ago )
<html >
<head runat="server">
    <title>Template </title>
    [removed][removed]
    [removed][removed]
    [removed][removed]
    <link href="validationEngine.jquery.css" rel="stylesheet" type="text/css" />
    [removed]
        jQuery(document).ready(function () {
            jQuery("#formID").validationEngine();
        });
    [removed]
</head>
<body>
    <form id="formID" runat="server">
    <div>
    <table>
        <tr  margin:400px auto;"><td colspan="2">Registration Form :</td></tr>
        <tr><td>First Name :</td><td><asp:TextBox ID="TextBox_firstname" class="validate[required]" runat="server"></asp:TextBox></td></tr>
        <tr><td>Last Name :</td><td><asp:TextBox ID="TextBox_LastName" class="validate[required]" runat="server"></asp:TextBox></td></tr>
        <tr><td>Password :</td><td><asp:TextBox ID="textbox_password" 
                class="validate[required],minSize[3]],maxSize[5]] text-input" runat="server" TextMode="Password"></asp:TextBox></td></tr>
        <tr><td>Confirm Password :</td><td><asp:TextBox ID="textbox_confirmpassword" 
                class="validate[required],equals[textbox_password],minSize[3]],maxSize[5]] text-input" runat="server" TextMode="Password"></asp:TextBox></td></tr>
        <tr><td>Email</td><td><asp:TextBox ID="TextBox_emailid" class="validate[required],custom[email]] text-input" runat="server"></asp:TextBox></td></tr>
        <tr><td>Phone Number:</td><td><asp:TextBox ID="TextBox_phonenumber" class="validate[required],custom[integer],max[9999999999]],min[1000000000]]" runat="server"></asp:TextBox></td></tr>
        <tr><td>State:</td><td><asp:DropDownList ID="DropDownList_states" class="validate[required]" runat="server" 
                DataSourceID="SqlDataSource1" DataTextField="MovieName" 
                DataValueField="MovieId"></asp:DropDownList>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                 C ConnectionStrings:deepConnectionString %>" 
                SelectCommand="SELECT * FROM [MovieTable]"></asp:SqlDataSource>
            </td></tr>
        <tr><td>City:</td><td><asp:DropDownList ID="DropDownList_city" class="validate[required]" runat="server" 
                DataSourceID="SqlDataSource1" DataTextField="MovieName" 
                DataValueField="MovieId"></asp:DropDownList></td></tr>
        <tr><td>Agree to Terms and Conditions </td><td><asp:CheckBox ID="CheckBox_Conditions" runat="server" /></td></tr>
        <tr><td></td><td><asp:Label ID="err" runat="server"></asp:Label></td></tr>
        <tr><td>Submit :</td><td>
            <asp Button ID="Button1" runat="server" Text="validate" ></td></tr>
    </table>
<!--    <input class="submit" type="submit" value="Validate & Send the form!"/>-->
    </div>
    </form>
</body>
</html>

 

Revise this Paste

Your Name: Code Language: