Regular field validator

<asp:RegularExpressionValidator ID="RegExp1" runat="server"      
ErrorMessage="Password length must be between 7 to 10 characters"  
ControlToValidate=" txtPassword "      
ValidationExpression="^[a-zA-Z0-9'@&#.\s]{7,10}  

Comments

Popular posts from this blog

SPSiteDataQuery to get data from multiple lists in site collection level in sharepoint 2013

Some of the Share Point Object Which I Practiced Till Now

Get List items using Camel Query with REST API SharePoint