CUniqueValidator with Criteria

Hi. I tried this but it is saying that CUniqueValidator.condition is not defined. I am using Yii 1.6. Can you please help me