RT# 76309 Validate E-Mail address on billing event action notice_to
authorMitch Jackson <mitch@freeside.biz>
Wed, 28 Nov 2018 20:24:45 +0000 (15:24 -0500)
committerMitch Jackson <mitch@freeside.biz>
Wed, 28 Nov 2018 20:55:04 +0000 (15:55 -0500)
FS/FS/part_event/Action/notice_to.pm

index dee293b..98f5cd3 100644 (file)
@@ -21,9 +21,10 @@ sub eventtable_hashref {
 
 sub option_fields {
   (
-    'to'     => { 'label'    => 'Destination',
-                  'type'     => 'text',
-                  'size'     => 30,
+    'to'     => { 'label'      => 'Destination',
+                  'type'       => 'text',
+                  'size'       => 200,
+                  'validation' => 'ut_email',
                 },
     'msgnum' => { 'label'    => 'Template',
                   'type'     => 'select-table',