Bug #33300

Validators should allow empty values

Added by Bastian Waidelich almost 10 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Should have
Category:
Validation
Start date:
2012-01-18
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Currently most of the provided validators do not accept empty values. This makes it impossible to have an optional email address for example (without using the disjunction validator).
If an email is required one should add two validation rules, NotEmpty and EmailAddress to the respective property.


Related issues

Related to TYPO3.Flow - Task #33537: Rename NotEmpty Validator to RequiredClosedBastian Waidelich2012-01-30

Actions

Also available in: Atom PDF