Hi,
I don't want an empty email field in my form to trigger a Doctrine_Validator_Exception. But, since Doctrine_Validator_Email uses "is_null()" to check for empty (non-existing) values (and the POST ['email'] contains an empty string), it does.
Is this correct? Is there a simple way around this?
This also has an impact when trying to set a column as unique (trying to store a second empty string in the column triggers the validator).
What am I missing?
Thanks in advance, Erland Wiencke
(Symfony 1.4.1/Doctrine 1.2)