error class and ajax validation

I got a trouble using ajax validation in my forms.

When i used traditional submit validation (no any ajax) - all was fine:

1.i got an error summary

2.i got error messages after each field

3.class error added to all inputs that failed validation

but when i try to use ajax

  1. all fine

  2. all fine

  3. doesn’t work

no any css classes to my inputs. I don’t know should i post some code - all is like in documentation.

I searched lots of topics but can’t find anything.

Can anybody help?

just check the documentation http://www.yiiframework.com/doc/api/1.1/CActiveForm/ on enableAjaxValidation.

Your generated controllers have some method that handles ajax validation and and what you want, the javascript on the client side handles everything, is this what you are using? is there any javascript error?

[SOLVED]

forgot about inputContainer param