IVK_SaveEmailTemplate:
Use the same construction to validate e-mail addresses:
Valid split for From is coded as:
isMatch($EmailTemplate/From, '^[^\s\@,]+?@([a-zA-Z0-9-]+\.)+?[a-zA-Z]{2,}$')
Valid split for Reply-To is coded using (same) regex from enumeration:
isMatch($EmailTemplate/ReplyTo, getCaption(EmailTemplate.PrivateConstants.regex))
Can both validations use the enumeration value?
Change validation message to make it translatable:
To be able to maintain translation data correct; Can the Validation Feedback for the From member being changed from:
Template: {1}
Parameters: '$EmailTemplate/From' + ' isn''t a valid email address'
to something like:
Template: '{1}' is geen geldig emailadres
Parameters: $EmailTemplate/From
IVK_SaveEmailTemplate.zip