Hi;
Since version 1.1.7 Client-side Validation support is added.
Now, this is part of my code in rules function of the model:
array('link, picture', 'required','message'=>'{attribute} is required!'),
In Normal mode everything works well. But client side validation doesn’t work as I expect. I mean it shows the following message:
instead of
or
how can I solve the problem. I don’t want to rewrite my rules in this way:
array('link', 'required','message'=>'link is required!'),
array('picture', 'required','message'=>'picture is required!'),
thanks