Ajax Validation just for a field

Hi,

I want to use ajax validation just for a field, not all fields in a form,

but when I use this code, ajax validation fires for all !!




<?php $form = yii\widgets\ActiveForm::begin([

    'id' => 'contact-form',

    'enableAjaxValidation' => true,

]); ?>



Is there any way to solve this problem ???