Ajax form field validation on slow connections

Hi to all, I’m a new with framework and having issue with ajax form field validation.

We validate the field after the user changes field focus (has left the field). But on slow connections, user can change focus (type in) in more than one field, and then get the server response (from first validation, triggered on first field lost focus) which guides to validator’s misinterpretation of server’s response (because other than first fields weren’t filled when validation has been triggered).

this is my code for rendering form:


<?php $form=$this->beginWidget('CActiveForm', array(

	'id'=>'rep-registration-form',

	'enableAjaxValidation'=>true,

	'enableClientValidation'=>true,

        'clientOptions'=>array('validateOnSubmit'=>true),

	'htmlOptions'=>array('enctype'=>'multipart/form-data')

)); ?>

Is there any fix for this, or I must use validation on submit, which is a bit of shame.

Tnx in advance