When using a ‘required’ Validator on an attribute to be set by a Behavior (like a Slug when using the SlugBehavior extension) a “cannot be blank” error is still raised for this field.
Do Validators take precedence over Behaviors? Can we reverse the order? Am I missing anything -= as always =-
(tri - Tommy Riboe)
Try beforeValidate instead of beforeSave (the latter is invoked after validation).
Learning does not come easy… thanks