[TYPO3-mvc] validator: email, but not required?

Stig Nørgaard Færch snf at dkm.dk
Tue Feb 21 18:01:01 CET 2012


If I validate a property as e-mail, it will also fail an empty value. It 
of course makes some sense, as an empty value doesn't comply as an 
e-mail address.

But I need it to pass when empty as well. What is the preferred to do 
this way?

/Stig


More information about the TYPO3-project-typo3v4mvc mailing list