client validations not working inside bootstrap modal

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.

Thanks,

Can you post a bit of your code here. I have definitely made it to work before. It works 100% OK.

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.

You can read more @ http://www.yiiframework.com/forum/index.php/topic/62217-bootstrap-popover-client-side-validation-using-yii-model/