Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1124 Points
122 Posts
May 01, 2012 02:59 AM|LINK
Hi,
I tested your code, you just need to fix the RegularExpressionValidator for Email(TextBox ID="txtEmail")like this:
<asp:RegularExpressionValidator ID="regexEmailValid" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail" ErrorMessage="Invalid Email Format"></asp:RegularExpressionValidator>
now it is working
YunJiang
Participant
1124 Points
122 Posts
Re: Validation messed my submit function
May 01, 2012 02:59 AM|LINK
Hi,
I tested your code, you just need to fix the RegularExpressionValidator for Email(TextBox ID="txtEmail")like this:
<asp:RegularExpressionValidator ID="regexEmailValid" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail" ErrorMessage="Invalid Email Format"></asp:RegularExpressionValidator>
now it is working