Hi, I just installed the 3.1dev from git. it installed just fine, but it seems there is an error on creating new clients. I cannot create any. I always get the error "Please enter a valid email address" idependant of what email address I give. any ideas?
Yes, that's possible. 3.1 dev is work in progress and not a software that can be used in production yet, so it can always be that functions are broken at the time you install it.
The problem lays here (client.tform.php): PHP: 'paypal_email' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'TEXT', 'filters' => array( 0 => array( 'event' => 'SAVE', 'type' => 'IDNTOASCII'), 1 => array( 'event' => 'SHOW', 'type' => 'IDNTOUTF8'), 2 => array( 'event' => 'SAVE', 'type' => 'TOLOWER') ), 'validators' => array ( 0 => array ( 'type' => 'ISEMAIL', 'errmsg'=> 'email_error_isemail'), ), 'default' => '', 'value' => '', 'separator' => '', 'width' => '30', 'maxlength' => '255', 'rows' => '', 'cols' => '', 'searchable' => 2 ), Obviously that does not only check validity of the paypal email but also forces one to fill this field.
Thank you for your findings. The global filter implementation has been changed recently, probably the email filter has been made amndatory now. I'll lookinto the code and change it back to its original behaviour.
Might I suggest to change the error message if the check fails for paypal so that the error also states that we are talking about paypal email? Probably that a bit confusing