Cactiveform Ajax Validation For All Fields

In a CActiveForm with ajaxValidation=true, I need to show the messages for all fields each time the user modifies a field.

This is because I have cross validations.

To do this i have to edit jquery.yiiactiveform.js to comment the lines 99 & 101 (Yii 1.1.13)




//if (this.status === 2 || this.status === 3) { (original)

  hasError = $.fn.yiiactiveform.updateInput(this, data, $form) || hasError;

//}



Is this correct or there is any other way?

Thanks.

In that case, your solution is the way :)