You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The text was updated successfully, but these errors were encountered:
edwinvanelk
changed the title
Use one way for validating e-mailaddresses in IVK_SaveEmailTemplate
Use the same method for validating e-mailaddresses in IVK_SaveEmailTemplate
Aug 11, 2022
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
The text was updated successfully, but these errors were encountered: