Hi,
I want to check two things in my form's Email Textbox field
1) Whether user has entered valid email address or not(for that i am using regularexpressionvalidator)
2)Want to check whether enter email is already exist in the database or not.(for that i m using ajax call)
Both above validation is working fine for me.The problem is if i enter any dummy text in the email field both the validation is triggering as shown below:
So if user enter any dummy text then i want regularexpressionvalidator to be trigger and until user enter any valid text ajax call should be deferred.How to achieve that?
Code:-
function CheckEmail(oName) {
PageMethods.EmailChecker(oName.value, OnSucceeded);
}
function OnSucceeded(result, userContext, methodName) {
lbl = document.getElementById('<%=lblEmail.ClientID %>');
if (methodName == &q ...
Go to the complete details ...