[size="3"]There is a form generated by CActiveForm with enableClientValidation set to true.
When i enter wrong value in any field and try submit form i get validation error message from javaScript.
It is all OK, but after that when i correct wrong value i still see error message until i remove focus from that field.
If i try to submit form when cursor is still in that filed nothing happens but just error massage disappears instead of form sending. So i have to submit once again to send.
I haven’t played with client validation too much but it sounds like an event (maybe onBlur) is firing - preventing you from submitting the form. Check to see what events are being triggered. Post your code if your still stuck.
It is not some special code that i am working on. It is just standard behaviour out of the box. To see this effect one can just create empty project and go to "contact us" page.
But maybe there is some option that can tune this. If no, so, i will hack into javaScript directly.