Custom client validation disable server side validation?

Hello i have a custom method validator in the model.

If disable client side validation it work.

If enable javascript validation, the serverside method not work (not is called from Yii).

I can’t implement the custom validation only client side because i need send a query to database.

How to do?



Please post your codes.