There is an "ISPConfig way" to validate a textarea with multiple email addresses? Or maybe I can implement a brand new "AREEMAIL" item?
Ok, I can extend ISEMAIL as well. But...what means "optional validator"? I think is easy to detect if there are multiple emails or only one within $field_value and choose automatically how to proceed. In my opinion, if the user specify more email addresses and one of them is wrong, then an error must be produced...
I guess he meant to add an option which specifies if multiple email addresses are valid for this field or not and then act according to this setting. E.g. add an option "separator" which specifies how the email addresses have to be separated (e.g. , or ; or \n ) and if the separator option is set, split the string by this separator and then check that each splitted part is an email address.