title: Yii - validate custom field
body: <p>I use model which not contain attribute 'countries' because I'm saving it in relations-model via many-to-many relation. When I'm creating form in view I use multiple select for custom field 'countries'. How can I validate it from model on <code>$model-&gt;validate()</code>?</p>