Skip to content

Commit 9a2c932

Browse files
author
thom
committed
Allow separator in email address
1 parent 464cc4f commit 9a2c932

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

interface/web/client/form/client.tform.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@
390390
2 => array( 'event' => 'SAVE',
391391
'type' => 'TOLOWER')
392392
),
393-
'validators' => array (
394-
0 => array ( 'type' => 'ISEMAIL', 'errmsg'=> 'email_error_isemail'),
393+
'validators' => array (
394+
0 => array ( 'type' => 'ISEMAILADDRESS', 'errmsg'=> 'email_error_isemail'),
395395
1 => array ( 'type' => 'NOTEMPTY',
396396
'errmsg'=> 'email_error_empty'),
397397
),
@@ -621,7 +621,7 @@
621621
'type' => 'TOLOWER')
622622
),
623623
'validators' => array (
624-
0 => array ( 'type' => 'ISEMAIL', 'allowempty' => 'y', 'errmsg'=> 'email_error_isemail'),
624+
0 => array ( 'type' => 'ISEMAILADDRESS', 'allowempty' => 'y', 'errmsg'=> 'email_error_isemail'),
625625
),
626626
'default' => '',
627627
'value' => '',

0 commit comments

Comments
 (0)