Re: Should validation 'allowEmpty' be removed?

2013-03-25 Thread Miles J
+1 notEmpty and required sort of solve this already. On Saturday, March 23, 2013 8:25:41 AM UTC-7, Sebastiaan van Stijn wrote: I've encountered many new CakePHP users that were a bit confused by the 'allowEmpty' option in validation rules. Thinking about this issue, I must say that I

Should validation 'allowEmpty' be removed?

2013-03-23 Thread Sebastiaan van Stijn
I've encountered many new CakePHP users that were a bit confused by the 'allowEmpty' option in validation rules. Thinking about this issue, I must say that I agree. 'allowEmpty' is confusing because it's both an 'option' for a validation rule (it can be combined with another rule), *and *can