How To Change Default Client Side Validation

Hi,

I would like to change the default way of client side validation. How can i do this?

You’re talking about some validator or the way CForm behaves?

Hi,

Thanks for the quick reply. I don’t want to get the fields being in green in client side form validation. like attached image.

Thanks,

If you’re using CActiveForm, refer to the error() method docs. In the htmlOptions attribute you can specify ‘successCssClass’ option.