Lazer17 Posted November 29, 2014 Share Posted November 29, 2014 Hello, I´m not able to add emloyees. Everytime when I fill everything right I get the message The email field is invalid even if the email field is valid. Could you tell me what am I doing wrong? Link to comment Share on other sites More sharing options...
Eolia Posted November 29, 2014 Share Posted November 29, 2014 Delete caps in your email adress... Link to comment Share on other sites More sharing options...
Lazer17 Posted November 29, 2014 Author Share Posted November 29, 2014 Nope, I tried.... didnt help. Link to comment Share on other sites More sharing options...
Eolia Posted November 29, 2014 Share Posted November 29, 2014 (edited) i look the pb... Edited November 29, 2014 by Eolia (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted November 29, 2014 Share Posted November 29, 2014 Ok temporary solution: In classes/Employee.php change line 103 env. 'email' => array('type' => self::TYPE_STRING, 'validate' => 'isEmail', 'required' => true, 'size' => 128), by: 'email' => array('type' => self::TYPE_STRING, 'required' => true, 'size' => 128), But it's curious... Link to comment Share on other sites More sharing options...
Lazer17 Posted November 30, 2014 Author Share Posted November 30, 2014 Hi, I tried again this morning without code changing. It worked, so I guess it was the capital letter. Thank you. Link to comment Share on other sites More sharing options...
Eolia Posted November 30, 2014 Share Posted November 30, 2014 Surprised ! Nope, I tried.... didnt help. ... Link to comment Share on other sites More sharing options...
Lazer17 Posted November 30, 2014 Author Share Posted November 30, 2014 Surprised ! ... Yep, mee too. I was really sure I tried. That was first thing that came on my mind. Link to comment Share on other sites More sharing options...
Recommended Posts