How to detach validator from field?

That is a subject. I can add one in rules() method, but how can I detach it?

simply extends baseModelClass and Override the rules() method.

[font=arial, verdana, tahoma, sans-serif][size=2]myLoving qiang waiting for your reply regarding to this point.[/size][/font]

Check if scenario is what you need.


Take it out of the rules() in the model

yes it is!!!