Marius Burkard
2016-01-22 bdb3e8057e46d5e69bae3dffb4d2669090b0ee8f
interface/web/client/form/client.tform.php
@@ -329,9 +329,7 @@
               'type' => 'TOLOWER')
         ),
         'validators' => array (  
            0 => array ( 'type' => 'REGEX',
               'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,1}$/i',
               'errmsg'=> 'email_error_isemail'),
            0 => array ( 'type' => 'ISEMAIL', 'errmsg'=> 'email_error_isemail'),
            1 => array ( 'type' => 'NOTEMPTY',
               'errmsg'=> 'email_error_empty'),
         ),
@@ -385,7 +383,9 @@
         'filters'   => array( 0 => array(    'event' => 'SAVE',
                                    'type' => 'TRIM'),
                        1 => array(    'event' => 'SAVE',
                                    'type' => 'TOUPPER')
                                    'type' => 'TOUPPER'),
                        2 => array(    'event' => 'SAVE',
                                    'type' => 'NOWHITESPACE')
         ),
      ),
      'company_id' => array (
@@ -456,7 +456,9 @@
         'filters'   => array( 0 => array(    'event' => 'SAVE',
                                    'type' => 'TRIM'),
                        1 => array(    'event' => 'SAVE',
                                    'type' => 'TOUPPER')
                                    'type' => 'TOUPPER'),
                        2 => array(    'event' => 'SAVE',
                                    'type' => 'NOWHITESPACE')
         ),
      ),
      'bank_account_swift' => array (
@@ -472,7 +474,9 @@
         'filters'   => array( 0 => array(    'event' => 'SAVE',
                                    'type' => 'TRIM'),
                        1 => array(    'event' => 'SAVE',
                                    'type' => 'TOUPPER')
                                    'type' => 'TOUPPER'),
                        2 => array(    'event' => 'SAVE',
                                    'type' => 'NOWHITESPACE')
         ),
      ),
      'notes' => array (
@@ -496,9 +500,8 @@
            2 => array( 'event' => 'SAVE',
               'type' => 'TOLOWER')
         ),
         'validators' => array (  0 => array ( 'type' => 'REGEX',
               'regex' => '/^(\w+[\w\.\-\+]*\w{0,}@\w+[\w.-]*\.[a-z\-]{2,10}){0,1}$/i',
               'errmsg'=> 'paypal_email_error_isemail'),
         'validators' => array (
            0 => array ( 'type' => 'ISEMAIL', 'errmsg'=> 'email_error_isemail'),
         ),
         'default' => '',
         'value'  => '',