I’ve just noticed that if I use CStringValidator with allowEmpty => false and an attribute’s value is an empty string, then the validator doesn’t show any error. In a combination with CRequiredValidator it works well and shows “Attribute can’t be blank” message:
You are right, but it doesn’t look intuitive to me when I disallow a field to be empty, but it can be empty anyway Had to spend some time to figure this out…