Email validation works only for single email address. How to setup email validation for multiple email address?

  • Profile Image
    enterpriseforce
    Asked on August 12, 2015 at 10:22 PM

    I have a field in form where user can enter multiple email addresses separated by comma.

    If I set email validation for this field, it works fine when I enter single email address, but when I enter two email addresses separated by comma it gives an error.

    I did check your existing posts on this issue  but could not find a solution.

  • Profile Image
    ashwin_d
    Answered on August 13, 2015 at 01:34 AM

    Hello enterpriseforce,

    Please be noted that or email field or email validation will only validate one single email address. If you add multiple email addresses, it will not be able to validate each and every email address and always trigger validation error message.

    I would suggest you that instead of allowing user to input multiple email addresses in one email field, please add multiple email address field in your form and that should solve your problem.

    Thank you!