Hi,
I have enabled client side validation. I don’t want to show green box around the fields when validation pass.
How can remove the green box. I have attached an image for this.
If any one can help on this I would appreciate it.
Hi,
I have enabled client side validation. I don’t want to show green box around the fields when validation pass.
How can remove the green box. I have attached an image for this.
If any one can help on this I would appreciate it.
Check for the border css class and remove using jquery
Hi,
Thanks for the reply. I will try to do that. Actually I wanted to know that is there any standard way to customize default styles which applied in yii. And I want this because showing the validation error in red color is ok for me. But i don’t want the showing green area when validation is pass. It seems bit ugly
I guess the green block has "success" class which is defined in form.css file. You can remove border there or in another css file.
It works. Thanks you both!