CForm and Ajax validation

Hi,

There are some exemples how to perform Ajax validation with CActiveForm but how to do the same things with CForm ?

Thanks

What for?

The most confortable solution is to use CActiveForm as usual, if you don’t need to save the collected input in the database use CForModel, it gives the same services of ActiveRecord (validation, attributeLabels, authomatic parameters binding) without the database.

With this you can easily do ajax validation in the standard way.

because i use the extension yii-user.

For exemple, login.php of the extension is done with CForm, and a would like to perform ajax validation on it.

Thanks