title: ASP.NET Multiple Validation Controls on a single asp.net input control?
body: <p>I have the following textbox alongwith its validators, but when I enter the correct text it fires up the RegularExpressionValidator error message, can't really figure out what I am doing wrong</p>
  
  <pre><code>            &lt;asp:TextBox ID="txtName" runat="server" onkeypress="return keyRestrict(event,'abcdefghijklmnopqrstuvwxyz-0123456789')"
                  AutoCompleteType="Disabled" Width="199px"&gt;&lt;/asp:TextBox&gt;&lt;span style="color: Red"&gt;*&lt;/span&gt;
              &lt;asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator3" runat="server"
                  ControlToValidate="txtName"&gt;&lt;/asp:RequiredFieldValidator&gt;
              &lt;asp:RegularExpressionValidator ID="revName" runat="server" ControlToValidate="txtName"
                  CssClass="text-error" Display="Dynamic" ValidationExpression="^[\p{L}\s]+$" ErrorMessage="Invalid Name"&gt;&lt;/asp:RegularExpressionValidator&gt;
  </code></pre>
  
  <p>I also used the ValidationExpression <code>^[A-Za-z]+$</code> in order to test that whether there exist some error in the ValidationExpression, and then typed in <code>Name</code> in the textbox being validated and still it triggered the error message of the RegularExpressionValidator.</p>
  
  <p>Regards</p>