title: ASP.NET Validation not working
body: <p>I made a registration form , add to it some validation but they not being targeted/fired , am not sure what's wrong , also it seems to work fine on Internet Explore but not on firefox:</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Register" %&gt;
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;style type="text/css"&gt;
          .auto-style1 {
              width: 100%;
          }
          .auto-style2 {
              width: 143px;
              text-align: right;
          }
          .auto-style3 {
              width: 280px;
          }
          .auto-style4 {
              font-size: x-large;
              text-align: left;
          }
      &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div class="auto-style4"&gt;
  
          Registeration&lt;/div&gt;
          &lt;table class="auto-style1"&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Username:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:TextBox ID="tbUserName" runat="server"  Width="277px" MaxLength="16"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbUserName" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                      &lt;asp:RangeValidator ID="RangeValidator1" runat="server" ControlToValidate="tbUserName" ErrorMessage="4 - 16 Characters!" ForeColor="Red" MaximumValue="16" MinimumValue="4" Type="Integer"&gt;&lt;/asp:RangeValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Password:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:TextBox ID="tbPassword" runat="server" Width="277px" MaxLength="16"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbPassword" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                      &lt;asp:RangeValidator ID="RangeValidator2" runat="server" ControlToValidate="tbPassword" ErrorMessage="4 - 16 Characters!" ForeColor="Red" MaximumValue="16" MinimumValue="4" Type="Integer"&gt;&lt;/asp:RangeValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Confirm Password:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:TextBox ID="tbConfPassword" runat="server" Width="277px" MaxLength="16"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tbConfPassword" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                      &lt;asp:RangeValidator ID="RangeValidator3" runat="server" ControlToValidate="tbConfPassword" ErrorMessage="4 - 16 Characters!" ForeColor="Red" MaximumValue="16" MinimumValue="4" Type="Integer"&gt;&lt;/asp:RangeValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Email:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:TextBox ID="tbEmail" runat="server" Width="277px"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tbEmail" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;First Name:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:TextBox ID="tb1stName" runat="server" Width="277px" MaxLength="16"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="tb1stName" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                      &lt;asp:RangeValidator ID="RangeValidator4" runat="server" ControlToValidate="tb1stName" ErrorMessage="4 - 16 Characters!" ForeColor="Red" MaximumValue="16" MinimumValue="4" Type="Integer"&gt;&lt;/asp:RangeValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Second Name:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:TextBox ID="tb2ndName" runat="server" Width="277px" MaxLength="16"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="tb2ndName" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                      &lt;asp:RangeValidator ID="RangeValidator5" runat="server" ControlToValidate="tb2ndName" ErrorMessage="4 - 16 Characters!" ForeColor="Red" MaximumValue="16" MinimumValue="4" Type="Integer"&gt;&lt;/asp:RangeValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Age:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:TextBox ID="tbAge" runat="server" Width="277px"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="tbAge" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Gender:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:DropDownList ID="dlGender" runat="server" Width="277px"&gt;
                          &lt;asp:ListItem Selected="True"&gt;Select Gender&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;Male&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;Female&lt;/asp:ListItem&gt;
                      &lt;/asp:DropDownList&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="dlGender" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Secret Question1:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:DropDownList ID="dl1stQ" runat="server" Height="24px" Width="277px"&gt;
                          &lt;asp:ListItem Selected="True"&gt;Select Question&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;What is your Favourite Car Manufacturer?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;What is your Favourite Food?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;What is your Favourite Video Game?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;What is your Favourite Drink?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;What is your Favourite Brand?&lt;/asp:ListItem&gt;
                      &lt;/asp:DropDownList&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="dl1stQ" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Answer:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:TextBox ID="tbAnswer" runat="server" Width="277px"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="tbAnswer" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Secret Question2:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:DropDownList ID="dlQ2" runat="server" Height="16px" Width="277px"&gt;
                          &lt;asp:ListItem Selected="True"&gt;Select Question&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;What is your Favourite Sports Team?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;Who is your Favourite Singer?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;Who is your Favourite Actor?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;Who is your Favourite Actress?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;Who is your favourite Sports Player?&lt;/asp:ListItem&gt;
                      &lt;/asp:DropDownList&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="dlQ2" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Answer:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:TextBox ID="tbAnswer2" runat="server" Width="277px"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="tbAnswer2" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Secret Question3:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:DropDownList ID="dlQ3" runat="server" Width="277px"&gt;
                          &lt;asp:ListItem Selected="True"&gt;Select Question&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;What is your mother Maiden Name?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;Where were you born?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;What was your first best friends Name?&lt;/asp:ListItem&gt;
                          &lt;asp:ListItem&gt;Who was your first kiss?&lt;/asp:ListItem&gt;
                      &lt;/asp:DropDownList&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="dlQ3" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
              &lt;tr&gt;
                  &lt;td class="auto-style2"&gt;Answer:&lt;/td&gt;
                  &lt;td class="auto-style3"&gt;
                      &lt;asp:TextBox ID="tbAnswer3" runat="server" Width="277px"&gt;&lt;/asp:TextBox&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="tbAnswer3" ErrorMessage="*" ForeColor="Red"&gt;&lt;/asp:RequiredFieldValidator&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>