Jump to content

Multiple Email Validation Script

Recommended Posts

hi.....I need some help on this email validation. I got a text box, can let the users to input many email with the seprator comma(,).Then how can i use the javascript to do a validation for it? plz help..i dont know how to code it. plz help on code.This is the script i am using for validation of single email id

<script language="javascript">function aa(valid) {if (/^\w+([\.-]?\w+)*@(\w{3})+([\.-]?\w+)*(\.\w{2,6})+$/.test(valid.email.value)){return (true)}alert("Email Id is not valid");return (false)}</script>
how to write javascript for validating multiple email id's ....Pls help meregardssubha
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...