Do not validate onfocusout


By default, if form Ajax validation is enabled, the field gets validated "onfocusout". Is there any way to disable this behavior for a specific form?

Here is the video to get a better of what I mean:

Thank you in advance!

Try disabling validateOnChange in the clientOptions array:

You may wish to enable validateOnSubmit.

here you can set enableAjaxVAlidation to false

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


    'enableAjaxValidation'=>true, // right here



)); ?>

Exactly what I needed! Thank you so much!