I have a multiline textbox in which i will be entering many email addresses.
how to validate email address at client side for multiple email address. i have used RegularExpressionValidator for validating email in textbox.
thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Simply extend the Validator with a loop. Split the textbox string into a array of emails and validate each. In that loop you can feed another array to later screen all wrong emails or abort at the first failed validation.
Something like this:
Custom trim implementation (jQuery has a own one if you use it)