<%@ Page Language="C#" MasterPageFile="~/inner.Master" AutoEventWireup="true" CodeBehind="customer_add.aspx.cs" Inherits="SedonaWeb.home.customer_add" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContent" runat="server">
    <div id="formContainer">
        <asp:Label runat="server" CssClass="pageTitle" Text="Link New Customer" />
        <asp:Label runat="server" CssClass="pageDes" Text="Enter the information of the customer below to link it to this account" />
        <asp:Panel runat="server">
            <asp:Label runat="server" ID="lblCustomerNumber" CssClass="inputLabel">
                <asp:Label runat="server" Text="Customer Number" />
                <asp:Label runat="server" CssClass="inputDes" Text="Used to identify you" />
            </asp:Label>
        <asp:TextBox ID="txtCustNum" Columns="15" MaxLength="15" runat="server" CssClass="inputBox"/>
        <asp:RequiredFieldValidator ID="rfvCustNum" CssClass="error_message_small" Display="Dynamic" runat="server"
            ErrorMessage="Required field " ControlToValidate="txtCustNum" />
        </asp:Panel>
        <asp:Panel runat="server">
            <asp:Label runat="server" ID="lblZipCode" CssClass="inputLabel">
                <asp:Label runat="server" Text="Billing Zip Code" />
                <asp:Label runat="server" Text="Your billing postal code" CssClass="inputDes" />
            </asp:Label>
                <asp:TextBox ID="txtBillZip" Columns="7" MaxLength="7" runat="server" CssClass="inputBox"/>
                <asp:RequiredFieldValidator ID="rfvBillZip" CssClass="error_message_small" Display="Dynamic" runat="server"
                    ErrorMessage="Required field " ControlToValidate="txtBillZip" />
                <asp:RegularExpressionValidator ID="revBillZip" CssClass="error_message_small" Display="Dynamic" runat="server"
                    ControlToValidate="txtBillZip" ErrorMessage="Invalid Zip Code"
                    ValidationExpression="(^\d{5}$)|(^[AaBbCcEeGgHhJjKkLlMmNnPpRrSsTtVvXxYy]{1}\d{1}[A-Za-z]{1} *\d{1}[A-Za-z]{1}\d{1}$)" />
        </asp:Panel>
        <asp:Button ID="btnLinkAccount" Text="Link Account" OnClick="btnLinkAccount_Click" runat="server" style="margin-left:190px" />
        <asp:Label ID="lblSuccessMessage" CssClass="success_message" runat="server" />
        <asp:Label ID="lblErrorMessage" CssClass="error_message" runat="server" />
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphScripts" runat="server">
</asp:Content>
