I am loading form in modal using ajax and want to use client validations of Yii. If I access the form directly(without modal), then it works. I am currently using jQuery Validate but for the purpose of localization, I feel Yii inbuilt validations are better.
You can have a look my code. I am trying to make it work for pop overs howerver. But Modals have a similar logic and works by this code. Pop overs are a little different I guess.